wok view scim-pinyin/receipt @ rev 3532

scim-pinyin: Add patch cstring-gcc43.patch, build with gcc 4.4
author Liu Peng <rocky@slitaz.org>
date Mon Jun 22 13:40:13 2009 +0800 (2009-06-22)
parents 0b02072d7f48
children 1794ce625358
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 patch -p1 < ../stuff/cstring-gcc43.patch &&
20 ./configure --prefix=/usr \
21 --mandir=/usr/share/man \
22 --infodir=/usr/share/info \
23 --disable-static \
24 $CONFIGURE_ARGS &&
25 make &&
26 make DESTDIR=$PWD/_pkg install
27 }
29 # Rules to gen a SliTaz package suitable for Tazpkg.
30 genpkg_rules()
31 {
32 mkdir -p $fs/usr/share
33 cp -a $_pkg/usr/lib $fs/usr
34 cp -a $_pkg/usr/share/scim $fs/usr/share
35 find $fs/usr/lib -name '*.la' -exec rm {} \;
36 }