wok-6.x view scim-pinyin/receipt @ rev 17217

Up: file (5.20).
author Aleksej Bobylev <al.bobylev@gmail.com>
date Tue Oct 14 11:50:51 2014 +0300 (2014-10-14)
parents d0d763c71fac
children 2f574b050e50
line source
1 # SliTaz package receipt.
3 PACKAGE="scim-pinyin"
4 VERSION="0.5.91"
5 CATEGORY="utilities"
6 SHORT_DESC="Chinese PinYin input for SCIM."
7 MAINTAINER="rocky@slitaz.org"
8 LICENSE="LGPL2.1"
9 TARBALL="$PACKAGE-$VERSION.tar.gz"
10 WEB_SITE="http://www.scim-im.org/"
11 WGET_URL="$SF_MIRROR/scim/$TARBALL"
12 #WGET_URL="http://kent.dl.sourceforge.net/sourceforge/scim/$TARBALL"
14 DEPENDS="scim"
15 BUILD_DEPENDS="scim-dev gtk+-dev"
17 # Rules to configure and make the package.
18 compile_rules()
19 {
20 cd $src
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
29 ./configure --prefix=/usr \
30 --mandir=/usr/share/man \
31 --infodir=/usr/share/info \
32 --disable-static \
33 $CONFIGURE_ARGS &&
34 make &&
35 make DESTDIR=$DESTDIR install
36 }
38 # Rules to gen a SliTaz package suitable for Tazpkg.
39 genpkg_rules()
40 {
41 mkdir -p $fs/usr/share
42 cp -a $install/usr/lib $fs/usr
43 cp -a $install/usr/share/scim $fs/usr/share
44 find $fs/usr/lib -name '*.la' -exec rm {} \;
45 }