SliTaz Packages

Community Doc Forum Pro Shop Bugs Hg
.

Receipt for package "libconfuse"

# SliTaz package receipt.

PACKAGE="libconfuse"
VERSION="3.3"
CATEGORY="misc"
SHORT_DESC="Configuration file parser library."
MAINTAINER="mallory@sweetpeople.org"
LICENSE="ISC"
WEB_SITE="https://github.com/libconfuse/libconfuse"

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

DEPENDS=""
BUILD_DEPENDS="automake libtool"

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

# Rules to configure and make the package.
compile_rules()
{
    ./autogen.sh &&
    ./configure                \
        --prefix=/usr            \
        --infodir=/usr/share/info    \
        --mandir=/usr/share/man        \
        $CONFIGURE_ARGS

    sed -i 's/ -Werror//' src/Makefile

    make &&
    make install DESTDIR=$DESTDIR
}

# Rules to gen a SliTaz package suitable for Tazpkg.
genpkg_rules()
{
    get_dev_files
}
6047 packages and 209931 files in current database (Mon Jul 1 15:25:36 2024)