wok-6.x view ibus-hangul/receipt @ rev 25235
updated python-serial (3.4 -> 3.5)
author | Hans-G?nter Theisgen |
---|---|
date | Wed Jul 13 17:36:30 2022 +0100 (2022-07-13) |
parents | b569b85b0fb9 |
children |
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="https://storage.googleapis.com/google-code-archive-downloads/v2/code.google.com/ibus/$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 }