wok view scim-pinyin/receipt @ rev 22675

ed: update $TARBALL
author Pascal Bellard <pascal.bellard@slitaz.org>
date Fri Jan 17 16:08:05 2020 +0100 (2020-01-17)
parents cacd154cd022
children e919c5a2742d
line source
1 # SliTaz package receipt.
3 PACKAGE="scim-pinyin"
4 VERSION="0.5.92"
5 CATEGORY="utilities"
6 SHORT_DESC="Chinese PinYin input for SCIM."
7 MAINTAINER="rocky@slitaz.org"
8 LICENSE="LGPL2.1"
9 WEB_SITE="https://www.scim-im.org/"
11 TARBALL="$PACKAGE-$VERSION.tar.gz"
12 WGET_URL="$SF_MIRROR/scim/$TARBALL"
13 #WGET_URL="http://kent.dl.sourceforge.net/sourceforge/scim/$TARBALL"
15 DEPENDS="scim"
16 BUILD_DEPENDS="automake gtk+-dev libtool scim-dev"
18 # Rules to configure and make the package.
19 compile_rules()
20 {
21 # while read file; do
22 # [ -f done.$file ] && continue
23 # echo "Apply $file..."
24 # patch -p1 < $stuff/$file || return 1
25 # touch done.$file
26 # done <<EOT
27 #cstring-gcc43.patch
28 #EOT
30 ./bootstrap &&
31 ./configure \
32 --prefix=/usr \
33 --mandir=/usr/share/man \
34 --infodir=/usr/share/info \
35 --disable-static \
36 $CONFIGURE_ARGS &&
37 make -j 1 &&
38 make DESTDIR=$DESTDIR install
39 }
41 # Rules to gen a SliTaz package suitable for Tazpkg.
42 genpkg_rules()
43 {
44 mkdir -p $fs/usr/share
46 cp -a $install/usr/lib $fs/usr
47 cp -a $install/usr/share/scim $fs/usr/share
49 find $fs/usr/lib -name '*.la' -exec rm {} \;
50 }