lede-packages-rs

git clone git://archive.git.mtrnord.blog/MTRNord/lede-packages-rs.git
Log | Files | Refs | README | LICENSE

Makefile (1277B)


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