SliTaz Packages

Community Doc Forum Pro Shop Bugs Hg
.

Receipt for package "libmodplug"

# SliTaz package receipt.

PACKAGE="libmodplug"
VERSION="0.8.9.0"
CATEGORY="multimedia"
SHORT_DESC="A MOD playing library."
MAINTAINER="jozee@slitaz.org"
LICENSE="PublicDomain"
WEB_SITE="https://modplug-xmms.sourceforge.net/" 

TARBALL="$PACKAGE-$VERSION.tar.gz"
WGET_URL="$SF_MIRROR/project/modplug-xmms/$PACKAGE/$VERSION/$TARBALL"

DEPENDS="gcc-lib-base"
BUILD_DEPENDS="gcc-lib-base"

HOST_ARCH="i486 arm x86_64"

# What is the latest version available today?
current_version()
{
    wget -O - https://sourceforge.net/projects/modplug-xmms/files/libmodplug/ 2>/dev/null | \
    sed '/scope="row/!d;s|.*href="|"https://sourceforge.net|;q' | xargs wget -O - 2>/dev/null | \
    sed '/scope="row/!d;s|.*/libmodplug/||;s|/.*||;q'
}

# Rules to configure and make the package.
compile_rules()
{
    ./configure --prefix=/usr $CONFIGURE_ARGS &&
    make -j 1 &&
    make DESTDIR=$DESTDIR install
}

# Rules to gen a SliTaz package suitable for Tazpkg.
genpkg_rules()
{
    mkdir -p $fs/usr/lib
    cp -a $install/usr/lib/*.so* $fs/usr/lib
}
6063 packages and 233209 files in current database (Sat Dec 21 00:00:03 2024)