2 # Copyright (C) 2007-2010 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
10 PKG_NAME
:=streamripper
14 PKG_SOURCE
:=$(PKG_NAME
)-$(PKG_VERSION
).
tar.gz
15 PKG_SOURCE_URL
:=@SF
/$(PKG_NAME
)
16 PKG_MD5SUM
:=1a8353af3c36d56f2d8ee8552f632071
20 PKG_LIBTOOL_PATHS
:=. tre-0.7
.2
22 include $(INCLUDE_DIR
)/package.mk
24 define Package
/streamripper
27 DEPENDS
:=+libmad
+libfaad2
29 URL
:=http
://streamripper.sourceforge.net
/
32 define Package
/streamripper
/description
33 Streamripper is an Open Source application that lets you record streaming mp3 to your hard drive.
37 EXTRA_CFLAGS
+= $(TARGET_CPPFLAGS
)
41 --with-included-argv \
42 --without-included-libmad \
43 --without-libiconv-prefix \
47 define Package
/streamripper
/install
48 $(INSTALL_DIR
) $(1)/usr
/bin
49 $(INSTALL_BIN
) $(PKG_INSTALL_DIR
)/usr
/bin
/streamripper
$(1)/usr
/bin
/
50 $(INSTALL_BIN
) $(PKG_INSTALL_DIR
)/usr
/bin
/agrep
$(1)/usr
/bin
/
51 $(INSTALL_DIR
) $(1)/usr
/lib
52 $(CP
) $(PKG_INSTALL_DIR
)/usr
/lib
/libtre.so
* $(1)/usr
/lib
/
55 $(eval
$(call BuildPackage
,streamripper
))