SliTaz Packages

Community Doc Forum Pro Shop Bugs Hg
.

Receipt for package "libunibreak"

# SliTaz package receipt.

PACKAGE="libunibreak"
VERSION="5.0"
CATEGORY="libs"
SHORT_DESC="Implementation of the line breaking algorithm."
MAINTAINER="maintainer@slitaz.org"
LICENSE="zlib/libpng"
WEB_SITE="https://github.com/adah1972/libunibreak/"

TARBALL="$PACKAGE-$VERSION.tar.gz"
WGET_URL="https://github.com/adah1972/libunibreak/releases/download/libunibreak_${VERSION//./_}/$TARBALL"

#SPLIT="$PACKAGE-dev"

# What is the latest version available today?
current_version()
{
    wget -O - ${WGET_URL%/down*} 2>/dev/null | \
    sed '/tag\//!d;s|.*tag/[a-z_]*||;s|".*||;s|_|.|g;q'
}

# Rules to configure and make the package.
compile_rules()
{
    ./configure $CONFIGURE_ARGS &&
    make &&
    make install
}

# Rules to gen a SliTaz package suitable for Tazpkg.
genpkg_rules()
{
    cook_copy_files *.so*
}
5935 packages and 845883 files in cooking database (Fri Jul 5 14:19:17 2024)