wok-current view scim-pinyin/receipt @ rev 4361
Up: libxml2* (2.7.5) + python-lxml
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Tue Oct 06 11:19:06 2009 +0200 (2009-10-06) |
parents | 012d72b2b629 |
children | 940b5937e496 |
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 DEPENDS="scim"
9 BUILD_DEPENDS="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 while read file; do
20 [ -f done.$file ] && continue
21 echo "Apply $file..."
22 patch -p1 < ../stuff/$file || return 1
23 touch done.$file
24 done <<EOT
25 cstring-gcc43.patch
26 EOT
27 ./configure --prefix=/usr \
28 --mandir=/usr/share/man \
29 --infodir=/usr/share/info \
30 --disable-static \
31 $CONFIGURE_ARGS &&
32 make &&
33 make DESTDIR=$PWD/_pkg install
34 }
36 # Rules to gen a SliTaz package suitable for Tazpkg.
37 genpkg_rules()
38 {
39 mkdir -p $fs/usr/share
40 cp -a $_pkg/usr/lib $fs/usr
41 cp -a $_pkg/usr/share/scim $fs/usr/share
42 find $fs/usr/lib -name '*.la' -exec rm {} \;
43 }