SliTaz Packages

Community Doc Forum Pro Shop Bugs Hg
.

Receipt for package "libmowgli"

# SliTaz package receipt.

PACKAGE="libmowgli"
VERSION="2.1.3"
CATEGORY="system-tools"
SHORT_DESC="High performance and highly flexible algorithms."
MAINTAINER="mimas@slitaz.org"
LICENSE="BSD"
WEB_SITE="https://github.com/atheme/libmowgli-2"

TARBALL="$PACKAGE-$VERSION.tar.gz"
WGET_URL="https://github.com/atheme/$PACKAGE-2/archive/v$VERSION.tar.gz"

BUILD_DEPENDS=""

current_version()
{
    wget -O - ${WGET_URL%/arch*}/tags 2>/dev/null | \
    sed '/archive.*tar/!d;s|.*/v\(.*\).tar.*|\1|;q'
}

# Rules to configure and make the package.
compile_rules()
{
    sed -i "s/touch -t 0001010000 /touch /g" configure
    ./configure        \
        $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/libmowgli*.so* $fs/usr/lib
}
6047 packages and 209931 files in current database (Mon Jul 1 15:25:36 2024)