wok view libmodplug/receipt @ rev 25037

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