wok-6.x annotate streamripper/receipt @ rev 25346

updated task (2.5.1 -> 2.6.2)
author Hans-G?nter Theisgen
date Mon Jul 25 09:24:40 2022 +0100 (2022-07-25)
parents 408c87fa22ca
children 7dd01dedad38
rev   line source
pankso@975 1 # SliTaz package receipt.
pankso@975 2
pankso@975 3 PACKAGE="streamripper"
slaxemulator@6373 4 VERSION="1.64.6"
pankso@975 5 CATEGORY="multimedia"
pankso@975 6 SHORT_DESC="Record streaming mp3 to your hard drive."
pankso@975 7 MAINTAINER="pankso@slitaz.org"
pascal@15001 8 LICENSE="GPL2"
pankso@975 9 TARBALL="$PACKAGE-$VERSION.tar.gz"
pankso@975 10 WEB_SITE="http://streamripper.sourceforge.net/"
pankso@975 11 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"
pankso@975 12
pascal@15001 13 DEPENDS="gtk+ libmad libvorbis faad2 glibc-base"
pascal@15001 14 BUILD_DEPENDS="gtk+-dev libmad-dev"
pascal@15001 15
pascal@24348 16 # What is the latest version available today?
pascal@24348 17 current_version()
pascal@24348 18 {
pascal@24348 19 wget -O - 'https://sourceforge.net/projects/streamripper/files/streamripper%20(current)/' 2>/dev/null | \
pascal@24348 20 sed '/scope="row/!d;s|.*href="|"https://sourceforge.net|;q' | xargs wget -O - 2>/dev/null | \
pascal@24348 21 sed '/scope="row/!d;s|.*/streamripper%20%28current%29/||;s|/.*||;q'
pascal@24348 22 }
pascal@24348 23
pankso@975 24 # Rules to configure and make the package.
pankso@975 25 compile_rules()
pankso@975 26 {
pankso@975 27 cd $src
pankso@975 28 chmod +x install-sh
pankso@975 29 ./configure \
pankso@975 30 --prefix=/usr \
pascal@2440 31 $CONFIGURE_ARGS &&
pascal@2440 32 make &&
pascal@15001 33 make DESTDIR=$DESTDIR install
pankso@975 34 }
pankso@975 35
pankso@975 36 # Rules to gen a SliTaz package suitable for Tazpkg.
pankso@975 37 genpkg_rules()
pankso@975 38 {
pankso@975 39 mkdir -p $fs/usr/lib
pascal@15001 40 cp -a $install/usr/bin $fs/usr
pankso@975 41 }