wok-current view libmodplug/receipt @ rev 25146
updated portaudio and portaudio-dev (190600_20161030 -> 19.7.0)
author | Hans-G?nter Theisgen |
---|---|
date | Wed Jun 29 15:26:46 2022 +0100 (2022-06-29) |
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 }