wok-6.x view scim-pinyin/receipt @ rev 2031
Add: lzip
author | Fabrice THIROUX <mimas@slitaz.org> |
---|---|
date | Sat Jan 10 00:51:09 2009 +0100 (2009-01-10) |
parents | |
children | 0b02072d7f48 |
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="slitaz@pworld.otherinbox.com"
8 DEPENDS="scim"
9 BUILD_DEPENDS="scim scim-dev"
10 TARBALL="$PACKAGE-$VERSION.tar.gz"
11 WEB_SITE="http://www.scim-im.org/"
12 #WGET_URL="$SF_MIRROR/scim/$TARBALL"
13 WGET_URL="http://kent.dl.sourceforge.net/sourceforge/scim/$TARBALL"
15 # Rules to configure and make the package.
16 compile_rules()
17 {
18 cd $src
19 export PKG_CONFIG_PATH=/usr/pkgconfig
20 ./configure --prefix=/usr --infodir=/usr/share/info \
21 --mandir=/usr/share/man --disable-static $CONFIGURE_ARGS &&
22 make &&
23 make DESTDIR=$PWD/_pkg install
24 }
26 # Rules to gen a SliTaz package suitable for Tazpkg.
27 genpkg_rules()
28 {
29 mkdir -p $fs/usr/share
30 cp -a $_pkg/usr/lib $fs/usr
31 cp -a $_pkg/usr/share/scim $fs/usr/share
33 # say goodbye to .la files
34 find $fs/usr/lib -name '*.la' -exec rm {} \;
35 find $fs/usr/lib -name '*.so' -exec strip -s {} \;
36 }
38 # Pre and post install commands for Tazpkg.
39 post_install()
40 {
41 cat <<EOT
42 ------------
43 In order to start scim and use chinese after boot time,
44 add the following code to your ~/.profile file:
45 export XMODIFIERS=@im=SCIM
46 export XIM="scim"
47 export XINPUT="xim"
48 export XIM_PROGRAM="scim -d"
49 export GTK_IM_MODULE=scim
50 export QT_IM_MODULE=scim
51 scim -d &
52 ------------
53 EOT
54 }