wok view scim-pinyin/receipt @ rev 9918

lftpd: fix bdeps
author Eric Joseph-Alexandre <erjo@slitaz.org>
date Tue May 17 22:21:33 2011 +0200 (2011-05-17)
parents 1794ce625358
children d0d763c71fac
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 }