wok annotate libmodplug/receipt @ rev 25460

Update sourceforge.net web_sites with https://
author Pascal Bellard <pascal.bellard@slitaz.org>
date Wed Sep 28 08:10:35 2022 +0000 (19 months ago)
parents c15fedfb9582
children d3556b8f5c3d
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"
pascal@25460 9 WEB_SITE="https://modplug-xmms.sourceforge.net/"
Hans-G?nter@21258 10
jozee@2658 11 TARBALL="$PACKAGE-$VERSION.tar.gz"
pascal@25443 12 WGET_URL="$SF_MIRROR/project/modplug-xmms/$PACKAGE/$VERSION/$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 }