SliTaz Packages

Community Doc Forum Pro Shop Bugs Hg
.

Receipt for package "liblouis"

# SliTaz package receipt.

PACKAGE="liblouis"
VERSION="3.21.0"
CATEGORY="utilities"
LICENSE="GPL3"
SHORT_DESC="Open-source braille translator and back-translator."
MAINTAINER="yuripourre@gmail.com"
WEB_SITE="https://web.archive.org/web/20221220101611/http://liblouis.org/"

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

SUGGESTED="help2man"
DEPENDS="glibc"
BUILD_DEPENDS="python-dev"

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

# Rules to configure and make the package.
compile_rules()
{
    ./configure            \
        --prefix=/usr        \
        --disable-static    \
        $CONFIGURE_ARGS &&
    make &&
    make install DESTDIR=$DESTDIR
}

# Rules to gen a SliTaz package suitable for Tazpkg.
genpkg_rules()
{
    cook_copy_folders    bin
    cook_copy_folders    share
    cook_copy_files        *.so*
}
6047 packages and 209931 files in current database (Wed Jun 26 15:35:30 2024)