SliTaz Packages

Community Doc Forum Pro Shop Bugs Hg
.

Receipt for package "ibus-hangul"

# SliTaz package receipt.

PACKAGE="ibus-hangul"
VERSION="1.4.1"
CATEGORY="utilities"
SHORT_DESC="Intelligent Input Bus"
MAINTAINER="pascal.bellard@slitaz.org"
LICENSE="GPL2"
WEB_SITE="https://github.com/ibus/ibus/wiki"
TARBALL="$PACKAGE-$VERSION.tar.gz"
WGET_URL="https://storage.googleapis.com/google-code-archive-downloads/v2/code.google.com/ibus/$TARBALL"

DEPENDS="ibus"
BUILD_DEPENDS="intltool gettext perl ibus-dev glib-dev libhangul-dev"

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

# Rules to configure and make the package.
compile_rules()
{
    ./configure --prefix=/usr \
        --mandir=/usr/share/man \
        --infodir=/usr/share/info \
        --disable-gtk3 \
        --with-gtk2-im-module-dir=$(ls -d /usr/lib/gtk-2*/2*/immodules/) \
        $CONFIGURE_ARGS &&
    make && make -k DESTDIR=$DESTDIR install
}

# Rules to gen a SliTaz package suitable for Tazpkg.
genpkg_rules()
{
    cp -a $install/* $fs
}
6025 packages and 203154 files in current database (Thu Apr 25 06:17:47 2024)