SliTaz Packages

Community Doc Forum Pro Shop Bugs Hg
.

Receipt for package "liblognorm"

# SliTaz package receipt.

PACKAGE="liblognorm"
VERSION="0.3.7"
CATEGORY="system-tools"
SHORT_DESC="A log normalization library."
MAINTAINER="erjo@slitaz.org"
LICENSE="LGPL2.1"
WEB_SITE="https://www.liblognorm.com/download/"
TARBALL="$PACKAGE-$VERSION.tar.gz"
WGET_URL="https://www.liblognorm.com/files/download/$TARBALL"

DEPENDS="libee libestr"
BUILD_DEPENDS="libestr-dev libee-dev automake"

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

# Rules to configure and make the package.
compile_rules()
{
    cd $src
    patch -p 1 < $stuff/liblognorm-build-fix.patch
    ./configure $CONFIGURE_ARGS && make && 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
    cp -a $install/usr/bin $fs/usr
    
}
6025 packages and 203154 files in current database (Thu Apr 25 06:17:47 2024)