SliTaz Packages

Community Doc Forum Pro Shop Bugs Hg
.

Receipt for package "libmikmod"

# SliTaz package receipt.

PACKAGE="libmikmod"
VERSION="3.3.11.1"
CATEGORY="development"
SHORT_DESC="Mikmod module player library."
MAINTAINER="paul@slitaz.org"
LICENSE="LGPL2 LGPL2.1"
WEB_SITE="http://mikmod.shlomifish.org/"

TARBALL="$PACKAGE-$VERSION.tar.gz"
WGET_URL="$SF_MIRROR/mikmod/$PACKAGE/$VERSION/$TARBALL"

DEPENDS=""
BUILD_DEPENDS="bash"

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

# Rules to configure and make the package.
compile_rules()
{
    touch macintosh/_libmikmodversion.r
    sed -i 's|\$(SHELL)|/bin/bash|' configure

    ./configure        \
        --prefix=/usr    \
        $CONFIGURE_ARGS &&
    make -j 1 &&
    make 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
}
6025 packages and 203154 files in current database (Thu Apr 25 06:17:47 2024)