2007-07-01 10:04:30 +00:00
|
|
|
#
|
2010-02-19 00:14:01 +00:00
|
|
|
# Copyright (C) 2007-2010 OpenWrt.org
|
2007-07-01 10:04:30 +00:00
|
|
|
#
|
|
|
|
# This is free software, licensed under the GNU General Public License v2.
|
|
|
|
# See /LICENSE for more information.
|
|
|
|
#
|
|
|
|
|
|
|
|
include $(TOPDIR)/rules.mk
|
|
|
|
|
|
|
|
PKG_NAME:=streamripper
|
|
|
|
PKG_VERSION:=1.62.0
|
2010-04-04 14:51:11 +00:00
|
|
|
PKG_RELEASE:=3
|
2007-07-01 10:04:30 +00:00
|
|
|
|
|
|
|
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
|
|
|
|
PKG_SOURCE_URL:=@SF/$(PKG_NAME)
|
|
|
|
PKG_MD5SUM:=1a8353af3c36d56f2d8ee8552f632071
|
|
|
|
|
2010-04-04 14:51:11 +00:00
|
|
|
PKG_INSTALL:=1
|
2012-06-11 21:18:33 +00:00
|
|
|
PKG_FIXUP:=autoreconf
|
2010-02-19 00:14:01 +00:00
|
|
|
PKG_LIBTOOL_PATHS:=. tre-0.7.2
|
|
|
|
|
2007-07-01 10:04:30 +00:00
|
|
|
include $(INCLUDE_DIR)/package.mk
|
|
|
|
|
|
|
|
define Package/streamripper
|
|
|
|
SECTION:=multimedia
|
|
|
|
CATEGORY:=Multimedia
|
2012-06-12 23:47:51 +00:00
|
|
|
DEPENDS:=+libmad +libfaad2 +libpthread
|
2007-07-01 10:04:30 +00:00
|
|
|
TITLE:=streamripper
|
|
|
|
URL:=http://streamripper.sourceforge.net/
|
|
|
|
endef
|
|
|
|
|
2007-10-14 04:32:56 +00:00
|
|
|
define Package/streamripper/description
|
|
|
|
Streamripper is an Open Source application that lets you record streaming mp3 to your hard drive.
|
|
|
|
endef
|
|
|
|
|
2007-09-05 16:36:09 +00:00
|
|
|
|
2009-04-29 12:56:17 +00:00
|
|
|
EXTRA_CFLAGS += $(TARGET_CPPFLAGS)
|
|
|
|
|
2010-04-04 14:51:11 +00:00
|
|
|
CONFIGURE_ARGS+= \
|
|
|
|
--without-ogg \
|
|
|
|
--with-included-argv \
|
|
|
|
--without-included-libmad \
|
|
|
|
--without-libiconv-prefix \
|
|
|
|
--with-included-tre \
|
|
|
|
--with-gnu-ld \
|
2007-07-01 10:04:30 +00:00
|
|
|
|
|
|
|
define Package/streamripper/install
|
|
|
|
$(INSTALL_DIR) $(1)/usr/bin
|
2007-12-09 18:59:01 +00:00
|
|
|
$(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/bin/streamripper $(1)/usr/bin/
|
|
|
|
$(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/bin/agrep $(1)/usr/bin/
|
2007-07-01 10:04:30 +00:00
|
|
|
$(INSTALL_DIR) $(1)/usr/lib
|
|
|
|
$(CP) $(PKG_INSTALL_DIR)/usr/lib/libtre.so* $(1)/usr/lib/
|
|
|
|
endef
|
|
|
|
|
|
|
|
$(eval $(call BuildPackage,streamripper))
|