wok-current view libmodplug/receipt @ rev 25444
Up firefox-official (104.0)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sun Sep 04 18:56:05 2022 +0000 (23 months ago) |
parents | 65d7d867e0c1 |
children | 7dd01dedad38 |
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/project/modplug-xmms/$PACKAGE/$VERSION/$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 }