Modify

Opened 11 years ago

Closed 11 years ago

#1803 closed enhancement (fixed)

streamripper [patch]

Reported by: olg Owned by: florian
Priority: normal Milestone:
Component: packages Version:
Keywords: Cc:

Description

Here it comes:

#
# 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_VERSION:=1.62.1
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
	$(MAKE) -C $(PKG_BUILD_DIR) \
		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))

Attachments (1)

streamripper.patch (1.8 KB) - added by olg 11 years ago.

Download all attachments as: .zip

Change History (4)

comment:1 Changed 11 years ago by anonymous

please attach a patch. it's easier to handle.

svn add streamripper/
svn diff streamripper/ > streamripper.patch

Changed 11 years ago by olg

comment:2 Changed 11 years ago by florian

  • Owner changed from developers to florian
  • Status changed from new to assigned

comment:3 Changed 11 years ago by florian

  • Resolution set to fixed
  • Status changed from assigned to closed

Added in [7822], thanks !

Add Comment

Modify Ticket

Action
as closed .
The resolution will be deleted. Next status will be 'reopened'.
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.