aboutsummaryrefslogtreecommitdiff
path: root/multimedia/ices/Makefile
blob: a3cb714aeab3ae6198ab5769467c3c8dddda80c9 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
#
# Copyright (C) 2009-2015 OpenWrt.org
# 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.2
PKG_RELEASE:=1

PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.bz2
PKG_SOURCE_URL:=http://downloads.xiph.org/releases/ices/
PKG_MD5SUM:=832c448cc993170a70fd95804fcda5b2

PKG_LICENSE:=GPL-2.0
PKG_LICENSE_FILES:=COPYING
PKG_MAINTAINER:=Nicolas Thill <nico@openwrt.org>

PKG_FIXUP:=autoreconf
PKG_INSTALL:=1

include $(INCLUDE_DIR)/package.mk

define Package/ices
  SECTION:=sound
  CATEGORY:=Sound
  TITLE:=ices client for Icecast media streaming servers
  URL:=http://www.icecast.org/ices/
  DEPENDS:=+libshout +libxml2 +zlib +libogg +libvorbis +alsa-lib
endef

define Package/ices/description
  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.
endef

CONFIGURE_ARGS+= \
	--with-ogg="$(STAGING_DIR)/usr/include" \
	--with-vorbis="$(STAGING_DIR)/usr/include" \

define Package/ices/install
	$(INSTALL_DIR) $(1)/usr/bin
	$(CP) $(PKG_INSTALL_DIR)/usr/bin/ices $(1)/usr/bin/
endef

$(eval $(call BuildPackage,ices))