You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

51 lines
1.2 KiB

  1. #
  2. # Copyright (C) 2015 OpenWrt.org
  3. #
  4. # This is free software, licensed under the GNU General Public License v2.
  5. # See /LICENSE for more information.
  6. #
  7. include $(TOPDIR)/rules.mk
  8. PKG_NAME:=oggfwd
  9. PKG_REV:=506088e5066abd086efc951670906187c120e9a3
  10. PKG_VERSION:=20150412
  11. PKG_RELEASE:=2
  12. PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
  13. PKG_MIRROR_HASH:=7d38d6cb57529d832d87a49d23d3ce24ba088110e3721580139860486c15494c
  14. PKG_SOURCE_URL:=https://r-w-x.org/oggfwd.git
  15. PKG_SOURCE_PROTO:=git
  16. PKG_SOURCE_SUBDIR:=$(PKG_NAME)-$(PKG_VERSION)
  17. PKG_SOURCE_VERSION:=$(PKG_REV)
  18. PKG_LICENSE:=GPL-2.0
  19. PKG_LICENSE_FILES:=LICENSE
  20. PKG_MAINTAINER:=Nicolas Thill <nico@openwrt.org>
  21. include $(INCLUDE_DIR)/package.mk
  22. define Package/oggfwd
  23. SECTION:=multimedia
  24. CATEGORY:=Multimedia
  25. SUBMENU:=Streaming
  26. TITLE:=Pipe media into icecast
  27. URL:=http://www.v2v.cc/~j/oggfwd
  28. DEPENDS:=+libpthread +libshout-full
  29. endef
  30. define Package/oggfwd/description
  31. A basic icecast client that is very simple but also very useful for video
  32. streaming.
  33. endef
  34. MAKE_FLAGS += \
  35. INCLUDEFLAGS="$(TARGET_LDFLAGS)" \
  36. LINKFLAGS="$(TARGET_LDFLAGS) -lshout" \
  37. define Package/oggfwd/install
  38. $(INSTALL_DIR) $(1)/usr/bin
  39. $(INSTALL_BIN) $(PKG_BUILD_DIR)/oggfwd $(1)/usr/bin/
  40. endef
  41. $(eval $(call BuildPackage,oggfwd))