wok annotate libid3tag/receipt @ rev 25805
created recipe for xfce4-weather-plugin
author | Hans-G?nter Theisgen |
---|---|
date | Wed Nov 13 15:24:31 2024 +0100 (2 weeks ago) |
parents | 65ff25c4de90 |
children |
rev | line source |
---|---|
paul@1374 | 1 # SliTaz package receipt. |
paul@1374 | 2 |
paul@1374 | 3 PACKAGE="libid3tag" |
paul@1374 | 4 VERSION="0.15.1b" |
paul@1374 | 5 CATEGORY="multimedia" |
paul@1374 | 6 SHORT_DESC="ID3 tag manipulation library." |
paul@1374 | 7 MAINTAINER="paul@slitaz.org" |
pascal@15473 | 8 LICENSE="GPL2" |
paul@1374 | 9 TARBALL="$PACKAGE-$VERSION.tar.gz" |
paul@1374 | 10 WEB_SITE="http://www.underbit.com/products/mad/" |
pascal@25465 | 11 WGET_URL="$SF_MIRROR/mad/$TARBALL" |
pankso@16021 | 12 HOST_ARCH="i486 arm" |
paul@1374 | 13 |
pascal@15473 | 14 DEPENDS="zlib" |
pascal@15473 | 15 BUILD_DEPENDS="zlib-dev" |
pascal@15473 | 16 |
pascal@24361 | 17 # What is the latest version available today? |
pascal@24361 | 18 current_version() |
pascal@24361 | 19 { |
pascal@24361 | 20 wget -O - https://sourceforge.net/projects/mad/files/libid3tag/ 2>/dev/null | \ |
pascal@25606 | 21 sed '/scope="row/!d;s|.*a href="|"https://sourceforge.net|;s| .*||;q' | xargs wget -O - 2>/dev/null | \ |
pascal@24361 | 22 sed '/scope="row/!d;s|.*/libid3tag/||;s|/.*||;q' |
pascal@24361 | 23 } |
pascal@24361 | 24 |
paul@1374 | 25 # Rules to configure and make the package. |
paul@1374 | 26 compile_rules() |
paul@1374 | 27 { |
pankso@16021 | 28 ./configure --prefix=/usr $CONFIGURE_ARGS && |
pankso@16021 | 29 make && make DESTDIR=$DESTDIR install |
paul@1374 | 30 } |
paul@1374 | 31 |
paul@1374 | 32 # Rules to gen a SliTaz package suitable for Tazpkg. |
paul@1374 | 33 genpkg_rules() |
paul@1374 | 34 { |
paul@1374 | 35 mkdir -p $fs/usr/lib |
pascal@15473 | 36 cp -a $install/usr/lib/*.so* $fs/usr/lib |
paul@1374 | 37 } |
paul@1374 | 38 |