2 # Copyright (C) 2007 OpenWrt.org
4 # This is free software, licensed under the GNU General Public License v2.
5 # See /LICENSE for more information.
9 include $(TOPDIR)/rules.mk
11 PKG_NAME:=streamripper
15 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
16 PKG_SOURCE_URL:=@SF/$(PKG_NAME)
17 PKG_MD5SUM:=1a8353af3c36d56f2d8ee8552f632071
19 PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME)-$(PKG_VERSION)
20 PKG_INSTALL_DIR:=$(PKG_BUILD_DIR)/ipkg-install
22 include $(INCLUDE_DIR)/package.mk
24 define Package/streamripper
30 Streamripper is an Open Source application that lets you record streaming mp3 to your hard drive.
31 URL:=http://streamripper.sourceforge.net/
34 define Build/Configure
35 $(call Build/Configure/Default, \
37 --with-included-argv \
38 --without-libiconv-prefix \
45 $(call Build/Compile/Default,\
46 DESTDIR="$(PKG_INSTALL_DIR)" \
51 define Package/streamripper/install
52 $(INSTALL_DIR) $(1)/usr/bin
53 $(CP) $(PKG_INSTALL_DIR)/usr/bin/streamripper $(1)/usr/bin/
54 $(CP) $(PKG_INSTALL_DIR)/usr/bin/agrep $(1)/usr/bin/
55 $(INSTALL_DIR) $(1)/usr/lib
56 $(CP) $(PKG_INSTALL_DIR)/usr/lib/libtre.so* $(1)/usr/lib/
59 $(eval $(call BuildPackage,streamripper))