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="http://kldp.net/hangul/release/3442-$TARBALL"

DEPENDS=""

# 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()
{
    cd $src
    ./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
}

6025 packages and 203154 files in current database (Thu Apr 25 06:17:47 2024)