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
)
19 include $(INCLUDE_DIR
)/package.mk
24 TITLE
:=ices client for Icecast media streaming servers
26 DEPENDS
:=+libshout
+libxml2
+zlib
+libogg
+libvorbis
29 define Package
/ices
/description
30 ices is a command line source client for Icecast media streaming servers.
31 It began
as the successor of the old
"shout" utility
, and has since gained a
32 lot of useful features.
35 define Package
/ices
/install
36 $(INSTALL_DIR
) $(1)/usr
/bin
37 $(CP
) $(PKG_BUILD_DIR
)/src
/$(PKG_NAME
) $(1)/usr
/bin
/
41 --with-ogg
="$(STAGING_DIR)/usr/include" \
42 --with-vorbis
="$(STAGING_DIR)/usr/include" \
44 define Build
/Configure
45 $(call Build
/Configure
/Default
, \
46 LDFLAGS
="$(TARGET_LDFLAGS) -lz -lm" \
51 $(MAKE
) -C
$(PKG_BUILD_DIR
) \
52 $(TARGET_CONFIGURE_OPTS
) \
53 CFLAGS
="$(TARGET_CFLAGS) -I$(STAGING_DIR)/usr/include" \
54 LDFLAGS
="$(TARGET_LDFLAGS) -lz -lm"
57 $(eval
$(call BuildPackage
,ices
))