wok-6.x view ibus-hangul/receipt @ rev 24920

updated mp (5.2.10 -> 5.58)
author Hans-G?nter Theisgen
date Sun Apr 10 07:48:27 2022 +0100 (2022-04-10)
parents 8dd8bab3f0ca
children 0f92b8cc8086
line source
1 # SliTaz package receipt.
3 PACKAGE="ibus-hangul"
4 VERSION="1.4.1"
5 CATEGORY="utilities"
6 SHORT_DESC="Intelligent Input Bus"
7 MAINTAINER="pascal.bellard@slitaz.org"
8 LICENSE="GPL2"
9 WEB_SITE="https://github.com/ibus/ibus/wiki"
10 TARBALL="$PACKAGE-$VERSION.tar.gz"
11 WGET_URL="http://ibus.googlecode.com/files/$TARBALL"
13 DEPENDS="ibus"
14 BUILD_DEPENDS="intltool gettext perl ibus-dev glib-dev libhangul-dev"
16 # What is the latest version available today?
17 current_version()
18 {
19 wget -O - https://github.com/ibus/ibus/releases 2>/dev/null | \
20 sed '/archive.*tar/!d;s|.*/[A-Za-z_-]*\(.*\).tar.*|\1|;q'
21 }
23 # Rules to configure and make the package.
24 compile_rules()
25 {
26 ./configure --prefix=/usr \
27 --mandir=/usr/share/man \
28 --infodir=/usr/share/info \
29 --disable-gtk3 \
30 --with-gtk2-im-module-dir=$(ls -d /usr/lib/gtk-2*/2*/immodules/) \
31 $CONFIGURE_ARGS &&
32 make && make -k DESTDIR=$DESTDIR install
33 }
35 # Rules to gen a SliTaz package suitable for Tazpkg.
36 genpkg_rules()
37 {
38 cp -a $install/* $fs
39 }