2009-12-18 16:22:50 +00:00
|
|
|
#
|
|
|
|
# Copyright (C) 2009 Freifunk Leipzig
|
|
|
|
#
|
|
|
|
# This is free software, licensed under the GNU General Public License v2.
|
|
|
|
# See /LICENSE for more information.
|
|
|
|
#
|
|
|
|
|
|
|
|
include $(TOPDIR)/rules.mk
|
|
|
|
|
|
|
|
PKG_NAME:=ices
|
|
|
|
PKG_VERSION:=2.0.1
|
2010-02-19 00:14:01 +00:00
|
|
|
PKG_RELEASE:=2
|
2009-12-18 16:22:50 +00:00
|
|
|
|
|
|
|
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
|
|
|
|
PKG_SOURCE_URL:=http://downloads.xiph.org/releases/ices/
|
|
|
|
PKG_MD5SUM:=0d95ac34d59fed337028d5e7771076d8
|
|
|
|
PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME)-$(PKG_VERSION)
|
|
|
|
|
2010-02-19 00:14:01 +00:00
|
|
|
PKG_FIXUP:=libtool
|
|
|
|
|
2009-12-18 16:22:50 +00:00
|
|
|
include $(INCLUDE_DIR)/package.mk
|
|
|
|
|
|
|
|
define Package/ices
|
2009-12-18 16:27:16 +00:00
|
|
|
SECTION:=sound
|
|
|
|
CATEGORY:=Sound
|
2009-12-18 16:22:50 +00:00
|
|
|
TITLE:=ices client for Icecast media streaming servers
|
|
|
|
URL:=http://xiph.org/
|
|
|
|
DEPENDS:=+libshout +libxml2 +zlib +libogg +libvorbis
|
|
|
|
endef
|
|
|
|
|
|
|
|
define Package/ices/description
|
2009-12-19 12:20:58 +00:00
|
|
|
ices is a command line source client for Icecast media streaming servers.
|
|
|
|
It began as the successor of the old "shout" utility, and has since gained a
|
|
|
|
lot of useful features.
|
2009-12-18 16:22:50 +00:00
|
|
|
endef
|
|
|
|
|
|
|
|
define Package/ices/install
|
2009-12-19 12:20:58 +00:00
|
|
|
$(INSTALL_DIR) $(1)/usr/bin
|
|
|
|
$(CP) $(PKG_BUILD_DIR)/src/$(PKG_NAME) $(1)/usr/bin/
|
2009-12-18 16:22:50 +00:00
|
|
|
endef
|
|
|
|
|
|
|
|
CONFIGURE_ARGS+= \
|
|
|
|
--with-ogg="$(STAGING_DIR)/usr/include" \
|
|
|
|
--with-vorbis="$(STAGING_DIR)/usr/include" \
|
|
|
|
|
|
|
|
define Build/Configure
|
|
|
|
$(call Build/Configure/Default, \
|
2009-12-19 12:20:58 +00:00
|
|
|
LDFLAGS="$(TARGET_LDFLAGS) -lz -lm" \
|
2009-12-18 16:22:50 +00:00
|
|
|
)
|
|
|
|
endef
|
|
|
|
|
|
|
|
define Build/Compile
|
2009-12-19 12:20:58 +00:00
|
|
|
$(MAKE) -C $(PKG_BUILD_DIR) \
|
|
|
|
$(TARGET_CONFIGURE_OPTS) \
|
|
|
|
CFLAGS="$(TARGET_CFLAGS) -I$(STAGING_DIR)/usr/include" \
|
|
|
|
LDFLAGS="$(TARGET_LDFLAGS) -lz -lm"
|
2009-12-18 16:22:50 +00:00
|
|
|
endef
|
|
|
|
|
|
|
|
$(eval $(call BuildPackage,ices))
|