wok annotate streamripper/receipt @ rev 25518

updated gvim 8.2 -> 9.0.0133 again
author Hans-G?nter Theisgen
date Thu Feb 23 11:06:30 2023 +0100 (20 months ago)
parents e919c5a2742d
children 29df00e1e19d
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"
pascal@25460 10 WEB_SITE="https://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 }