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.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:=1
  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. define Package/ices
  20. SECTION:=sound
  21. CATEGORY:=Sound
  22. TITLE:=ices client for Icecast media streaming servers
  23. URL:=http://www.icecast.org/ices/
  24. DEPENDS:=+libshout +libxml2 +zlib +libogg +libvorbis +alsa-lib
  25. endef
  26. define Package/ices/description
  27. ices is a command line source client for Icecast media streaming servers.
  28. It began as the successor of the old "shout" utility, and has since gained a
  29. lot of useful features.
  30. endef
  31. CONFIGURE_ARGS+= \
  32. --with-ogg="$(STAGING_DIR)/usr/include" \
  33. --with-vorbis="$(STAGING_DIR)/usr/include"
  34. TARGET_LDFLAGS+= -logg -lvorbisidec
  35. define Package/ices/install
  36. $(INSTALL_DIR) $(1)/usr/bin
  37. $(CP) $(PKG_INSTALL_DIR)/usr/bin/ices $(1)/usr/bin/
  38. endef
  39. $(eval $(call BuildPackage,ices))