wok annotate libmodplug/receipt @ rev 24992
Up sip (4.19.25)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sat May 14 18:19:29 2022 +0000 (2022-05-14) |
parents | 2aa4897bdebc |
children | c15fedfb9582 |
rev | line source |
---|---|
jozee@2658 | 1 # SliTaz package receipt. |
jozee@2658 | 2 |
jozee@2658 | 3 PACKAGE="libmodplug" |
Hans-G?nter@21258 | 4 VERSION="0.8.9.0" |
jozee@2658 | 5 CATEGORY="multimedia" |
Hans-G?nter@21258 | 6 SHORT_DESC="A MOD playing library." |
jozee@2658 | 7 MAINTAINER="jozee@slitaz.org" |
pascal@15473 | 8 LICENSE="PublicDomain" |
Hans-G?nter@21258 | 9 WEB_SITE="http://modplug-xmms.sourceforge.net/" |
Hans-G?nter@21258 | 10 |
jozee@2658 | 11 TARBALL="$PACKAGE-$VERSION.tar.gz" |
Hans-G?nter@21258 | 12 WGET_URL="$SF_MIRROR/modplug-xmms/$TARBALL" |
jozee@2658 | 13 |
pascal@15473 | 14 DEPENDS="gcc-lib-base" |
pascal@15473 | 15 BUILD_DEPENDS="gcc-lib-base" |
pascal@15473 | 16 |
Hans-G?nter@21258 | 17 HOST_ARCH="i486 arm" |
Hans-G?nter@21258 | 18 |
pascal@24411 | 19 # What is the latest version available today? |
pascal@24411 | 20 current_version() |
pascal@24411 | 21 { |
pascal@24411 | 22 wget -O - https://sourceforge.net/projects/modplug-xmms/files/libmodplug/ 2>/dev/null | \ |
pascal@24411 | 23 sed '/scope="row/!d;s|.*href="|"https://sourceforge.net|;q' | xargs wget -O - 2>/dev/null | \ |
pascal@24411 | 24 sed '/scope="row/!d;s|.*/libmodplug/||;s|/.*||;q' |
pascal@24411 | 25 } |
pascal@24411 | 26 |
jozee@2658 | 27 # Rules to configure and make the package. |
jozee@2658 | 28 compile_rules() |
jozee@2658 | 29 { |
Hans-G?nter@21258 | 30 ./configure --prefix=/usr $CONFIGURE_ARGS && |
Hans-G?nter@21258 | 31 make -j 1 && |
pascal@15473 | 32 make DESTDIR=$DESTDIR install |
jozee@2658 | 33 } |
jozee@2658 | 34 |
jozee@2658 | 35 # Rules to gen a SliTaz package suitable for Tazpkg. |
jozee@2658 | 36 genpkg_rules() |
jozee@2658 | 37 { |
jozee@2658 | 38 mkdir -p $fs/usr/lib |
pascal@15473 | 39 cp -a $install/usr/lib/*.so* $fs/usr/lib |
jozee@2658 | 40 } |