2 # Copyright (C) 2011 OpenWrt.org
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://darkice.googlecode.com/files/
16 PKG_MD5SUM:= 1804e63d42a9703d01fe378c9a77c473
21 include $(INCLUDE_DIR)/package.mk
23 define Package/darkice
27 TITLE:=DarkIce is a live audio streamer
28 DEPENDS:=+lame +alsa-lib +libpthread +libstdcpp
29 MAINTAINER:=Artur Wronowski <arteqw@gmail.com>
32 define Package/darkice/description
33 DarkIce is a live audio streamer. It records audio from an audio interface (e.g. sound card), encodes it and sends it to a streaming server.
42 --without-samplerate \
46 define Package/darkice/install
47 $(INSTALL_DIR) $(1)/usr/sbin
48 $(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/bin/darkice $(1)/usr/sbin/
49 $(INSTALL_DIR) $(1)/etc
50 $(INSTALL_BIN) $(PKG_INSTALL_DIR)/etc/darkice.cfg $(1)/etc/
53 $(eval $(call BuildPackage,darkice))