X-Git-Url: http://git.openwrt.org/?p=openwrt%2Fsvn-archive%2Farchive.git;a=blobdiff_plain;f=sound%2Fstreamripper%2FMakefile;h=1cd35f433d093aa662bfe34e142547a98e879a98;hp=fd55952d86801efb0ffd0ec48d594f0a0566d8a7;hb=6e7d5ea79de53ea44ff3b79e3b59bac1ccccb61d;hpb=13fb59dd0549e4f09ae3600298eda16396cb95f1;ds=sidebyside diff --git a/sound/streamripper/Makefile b/sound/streamripper/Makefile index fd55952d86..1cd35f433d 100644 --- a/sound/streamripper/Makefile +++ b/sound/streamripper/Makefile @@ -1,30 +1,30 @@ # -# Copyright (C) 2007 OpenWrt.org +# Copyright (C) 2007-2010 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_RELEASE:=3 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 +PKG_INSTALL:=1 +PKG_FIXUP:=libtool +PKG_LIBTOOL_PATHS:=. tre-0.7.2 include $(INCLUDE_DIR)/package.mk define Package/streamripper SECTION:=multimedia CATEGORY:=Multimedia - DEPENDS:=+libmad + DEPENDS:=+libmad +libfaad2 TITLE:=streamripper URL:=http://streamripper.sourceforge.net/ endef @@ -34,23 +34,15 @@ define Package/streamripper/description endef -EXTRA_CFLAGS += -I$(STAGING_DIR)/usr/include -I$(STAGING_DIR)/include -define Build/Configure - $(call Build/Configure/Default, \ - --without-ogg \ - --with-included-argv \ - --without-libiconv-prefix \ - --with-included-tre \ - --with-gnu-ld \ - ) -endef +EXTRA_CFLAGS += $(TARGET_CPPFLAGS) -define Build/Compile - $(call Build/Compile/Default,\ - DESTDIR="$(PKG_INSTALL_DIR)" \ - all install \ - ) -endef +CONFIGURE_ARGS+= \ + --without-ogg \ + --with-included-argv \ + --without-included-libmad \ + --without-libiconv-prefix \ + --with-included-tre \ + --with-gnu-ld \ define Package/streamripper/install $(INSTALL_DIR) $(1)/usr/bin