2 # Copyright (C) 2009 Freifunk Leipzig
4 # This is free software, licensed under the GNU General Public License v2.
5 # See /LICENSE for more information.
8 include $(TOPDIR
)/rules.mk
14 PKG_SOURCE
:=$(PKG_NAME
)-$(PKG_VERSION
).
tar.gz
15 PKG_SOURCE_URL
:=http
://downloads.xiph.org
/releases
/ices
/
16 PKG_MD5SUM
:=0d95ac34d59fed337028d5e7771076d8
17 PKG_BUILD_DIR
:=$(BUILD_DIR
)/$(PKG_NAME
)-$(PKG_VERSION
)
21 include $(INCLUDE_DIR
)/package.mk
26 TITLE
:=ices client for Icecast media streaming servers
28 DEPENDS
:=+libshout
+libxml2
+zlib
+libogg
+libvorbis
+alsa-lib
31 define Package
/ices
/description
32 ices is a command line source client for Icecast media streaming servers.
33 It began
as the successor of the old
"shout" utility
, and has since gained a
34 lot of useful features.
37 define Package
/ices
/install
38 $(INSTALL_DIR
) $(1)/usr
/bin
39 $(CP
) $(PKG_BUILD_DIR
)/src
/$(PKG_NAME
) $(1)/usr
/bin
/
43 --with-ogg
="$(STAGING_DIR)/usr/include" \
44 --with-vorbis
="$(STAGING_DIR)/usr/include" \
46 define Build
/Configure
47 $(call Build
/Configure
/Default
, \
48 LDFLAGS
="$(TARGET_LDFLAGS) -lz -lm" \
53 $(MAKE
) -C
$(PKG_BUILD_DIR
) \
54 $(TARGET_CONFIGURE_OPTS
) \
55 CFLAGS
="$(TARGET_CFLAGS) -I$(STAGING_DIR)/usr/include" \
56 LDFLAGS
="$(TARGET_LDFLAGS) -lz -lm"
59 $(eval
$(call BuildPackage
,ices
))