SliTaz Packages

Community Doc Forum Pro Shop Bugs Hg
.

Receipt for package "libhangul"

# SliTaz package receipt.

PACKAGE="libhangul"
VERSION="0.1.0"
CATEGORY="misc"
SHORT_DESC="library for Hangul"
MAINTAINER="allan316@gmail.com"
LICENSE="LGPL2.1"
TARBALL="$PACKAGE-$VERSION.tar.gz"
WEB_SITE="https://github.com/libhangul/libhangul"
WGET_URL="https://github.com/libhangul/libhangul/archive/refs/tags/$TARBALL"

DEPENDS=""
BUILD_DEPENDS="automake gettext"

# What is the latest version available today?
current_version()
{
    wget -O - $WEB_SITE/tags 2>/dev/null | \
    sed '/archive.*tar/!d;s|.*/[A-Za-z_-]*\(.*\).tar.*|\1|;q'
}

# Rules to configure and make the package.
compile_rules()
{
    sed -i 's|AM_GNU_GETTEXT_VERSION(.*|AM_GNU_GETTEXT_VERSION(0.20)|' configure.ac
    ./autogen.sh
    ./configure \
        --prefix=/usr \
        --infodir=/usr/share/info \
        --mandir=/usr/share/man \
        --datadir=/usr/lib \
        $CONFIGURE_ARGS &&
    make && make DESTDIR=$DESTDIR 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/lib/libhangul $fs/usr/lib
}

6011 packages and 861676 files in cooking database (Sun Jun 15 00:48:28 2025)