wok-next view scim-pinyin/receipt @ rev 17408

Up wireshark (1.10.11)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Fri Nov 28 21:18:51 2014 +0100 (2014-11-28)
parents d0d763c71fac
children 9278a60d6895
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 }