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.

50 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:=1
  12. PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
  13. PKG_SOURCE_URL:=git://r-w-x.org/oggfwd.git
  14. PKG_SOURCE_PROTO:=git
  15. PKG_SOURCE_SUBDIR:=$(PKG_NAME)-$(PKG_VERSION)
  16. PKG_SOURCE_VERSION:=$(PKG_REV)
  17. PKG_LICENSE:=GPL-2.0
  18. PKG_LICENSE_FILES:=LICENSE
  19. PKG_MAINTAINER:=Nicolas Thill <nico@openwrt.org>
  20. include $(INCLUDE_DIR)/package.mk
  21. define Package/oggfwd
  22. SECTION:=multimedia
  23. CATEGORY:=Multimedia
  24. SUBMENU:=Streaming
  25. TITLE:=Pipe media into icecast
  26. URL:=http://www.v2v.cc/~j/oggfwd
  27. DEPENDS:=+libpthread +libshout
  28. endef
  29. define Package/oggfwd/description
  30. A basic icecast client that is very simple but also very useful for video
  31. streaming.
  32. endef
  33. MAKE_FLAGS += \
  34. INCLUDEFLAGS="$(TARGET_LDFLAGS)" \
  35. LINKFLAGS="$(TARGET_LDFLAGS) -lshout" \
  36. define Package/oggfwd/install
  37. $(INSTALL_DIR) $(1)/usr/bin
  38. $(INSTALL_BIN) $(PKG_BUILD_DIR)/oggfwd $(1)/usr/bin/
  39. endef
  40. $(eval $(call BuildPackage,oggfwd))