jow 8fa04f6cba [packages] streamripper: add missing dependency to libfaad (#6135)
git-svn-id: svn://svn.openwrt.org/openwrt/packages@18383 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-11-11 22:26:44 +00:00

61 lines
1.4 KiB
Makefile

#
# Copyright (C) 2007-2009 OpenWrt.org
#
# 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
PKG_RELEASE:=1
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
PKG_SOURCE_URL:=@SF/$(PKG_NAME)
PKG_MD5SUM:=1a8353af3c36d56f2d8ee8552f632071
include $(INCLUDE_DIR)/package.mk
define Package/streamripper
SECTION:=multimedia
CATEGORY:=Multimedia
DEPENDS:=+libmad +libfaad2
TITLE:=streamripper
URL:=http://streamripper.sourceforge.net/
endef
define Package/streamripper/description
Streamripper is an Open Source application that lets you record streaming mp3 to your hard drive.
endef
EXTRA_CFLAGS += $(TARGET_CPPFLAGS)
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
$(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/bin/streamripper $(1)/usr/bin/
$(INSTALL_BIN) $(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))