wok view ibus-hangul/receipt @ rev 25513

memtest: update sleep()
author Pascal Bellard <pascal.bellard@slitaz.org>
date Tue Feb 14 15:41:57 2023 +0000 (21 months ago)
parents b569b85b0fb9
children 20ad21d5532c
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 }