From 73c173a43858b5e4eab48874d8ef819c918454c6 Mon Sep 17 00:00:00 2001 From: Florian Fainelli Date: Sun, 1 Jul 2007 10:04:30 +0000 Subject: [PATCH] Add streamripper (#1803) SVN-Revision: 7822 --- sound/streamripper/Makefile | 59 +++++++++++++++++++++++++++++++++++++ 1 file changed, 59 insertions(+) create mode 100644 sound/streamripper/Makefile diff --git a/sound/streamripper/Makefile b/sound/streamripper/Makefile new file mode 100644 index 0000000000..27a6f2f7ea --- /dev/null +++ b/sound/streamripper/Makefile @@ -0,0 +1,59 @@ +# +# Copyright (C) 2007 OpenWrt.org +# +# This is free software, licensed under the GNU General Public License v2. +# See /LICENSE for more information. +# +# $Id $ + +include $(TOPDIR)/rules.mk + +PKG_NAME:=streamripper +PKG_VERSION:=1.62.0 +PKG_RELEASE:=1 + +PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz +PKG_SOURCE_URL:=@SF/$(PKG_NAME) +PKG_MD5SUM:=1a8353af3c36d56f2d8ee8552f632071 + +PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME)-$(PKG_VERSION) +PKG_INSTALL_DIR:=$(PKG_BUILD_DIR)/ipkg-install + +include $(INCLUDE_DIR)/package.mk + +define Package/streamripper + SECTION:=multimedia + CATEGORY:=Multimedia + DEPENDS:=+libmad + TITLE:=streamripper + DESCRIPTION:=\ + Streamripper is an Open Source application that lets you record streaming mp3 to your hard drive. + URL:=http://streamripper.sourceforge.net/ +endef + +define Build/Configure + $(call Build/Configure/Default, \ + --without-ogg \ + --with-included-argv \ + --without-libiconv-prefix \ + --with-included-tre \ + --with-gnu-ld \ + ) +endef + +define Build/Compile + $(call Build/Compile/Default,\ + DESTDIR="$(PKG_INSTALL_DIR)" \ + all install \ + ) +endef + +define Package/streamripper/install + $(INSTALL_DIR) $(1)/usr/bin + $(CP) $(PKG_INSTALL_DIR)/usr/bin/streamripper $(1)/usr/bin/ + $(CP) $(PKG_INSTALL_DIR)/usr/bin/agrep $(1)/usr/bin/ + $(INSTALL_DIR) $(1)/usr/lib + $(CP) $(PKG_INSTALL_DIR)/usr/lib/libtre.so* $(1)/usr/lib/ +endef + +$(eval $(call BuildPackage,streamripper)) -- 2.30.2