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.

52 lines
1.3 KiB

  1. #
  2. # This is free software, licensed under the GNU General Public License v2.
  3. # See /LICENSE for more information.
  4. #
  5. include $(TOPDIR)/rules.mk
  6. PKG_NAME:=ices
  7. PKG_VERSION:=2.0.2
  8. PKG_RELEASE:=2
  9. PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.bz2
  10. PKG_SOURCE_URL:=http://downloads.xiph.org/releases/ices/
  11. PKG_HASH:=96458df835033c39236ad3bb099286c033241f8ea7c138e7ccf714e7ade75900
  12. PKG_LICENSE:=GPL-2.0
  13. PKG_LICENSE_FILES:=COPYING
  14. PKG_MAINTAINER:=Nicolas Thill <nico@openwrt.org>, \
  15. Ted Hess <thess@kitschensync.net>
  16. PKG_FIXUP:=autoreconf
  17. PKG_INSTALL:=1
  18. include $(INCLUDE_DIR)/package.mk
  19. include $(INCLUDE_DIR)/nls.mk
  20. define Package/ices
  21. SECTION:=sound
  22. CATEGORY:=Sound
  23. TITLE:=ices client for Icecast media streaming servers
  24. URL:=http://www.icecast.org/ices/
  25. DEPENDS:=+libshout +libxml2 +zlib +libogg +libvorbis +alsa-lib $(ICONV_DEPENDS)
  26. endef
  27. define Package/ices/description
  28. ices is a command line source client for Icecast media streaming servers.
  29. It began as the successor of the old "shout" utility, and has since gained a
  30. lot of useful features.
  31. endef
  32. CONFIGURE_ARGS+= \
  33. --with-ogg="$(STAGING_DIR)/usr/include" \
  34. --with-vorbis="$(STAGING_DIR)/usr/include"
  35. TARGET_LDFLAGS+= -logg -lvorbisidec
  36. define Package/ices/install
  37. $(INSTALL_DIR) $(1)/usr/bin
  38. $(CP) $(PKG_INSTALL_DIR)/usr/bin/ices $(1)/usr/bin/
  39. endef
  40. $(eval $(call BuildPackage,ices))