SliTaz Packages

Community Doc Forum Pro Shop Bugs Hg
.

Receipt for package "libestr"

# SliTaz package receipt.

PACKAGE="libestr"
VERSION="0.1.11"
CATEGORY="system-tools"
SHORT_DESC="Some essentials for string handling."
MAINTAINER="erjo@slitaz.org"
LICENSE="LGPL2"
WEB_SITE="https://libestr.adiscon.com/"

TARBALL="$PACKAGE-$VERSION.tar.gz"
WGET_URL="https://libestr.adiscon.com/files/download/$TARBALL"

# What is the latest version available today?
current_version()
{
    wget -O - $WEB_SITE 2>/dev/null | \
    sed "/latest/d;/$PACKAGE-[0-9]/!d;s|.*$PACKAGE-||;s|/.*||;s|-|.|g" | sort -Vr | sed q
}

# Rules to configure and make the package.
compile_rules()
{
    ./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/*.so* $fs/usr/lib
}
6025 packages and 203154 files in current database (Thu Apr 25 06:17:47 2024)