wok-current annotate 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 |
rev | line source |
---|---|
pascal@1803 | 1 # SliTaz package receipt. |
pascal@1803 | 2 |
pascal@1803 | 3 PACKAGE="scim-pinyin" |
pascal@1803 | 4 VERSION="0.5.91" |
pascal@1803 | 5 CATEGORY="utilities" |
rocky@3532 | 6 SHORT_DESC="Chinese PinYin input for SCIM." |
rocky@3532 | 7 MAINTAINER="rocky@slitaz.org" |
rocky@3532 | 8 DEPENDS="scim" |
rocky@3532 | 9 BUILD_DEPENDS="scim-dev" |
pascal@1803 | 10 TARBALL="$PACKAGE-$VERSION.tar.gz" |
pascal@1803 | 11 WEB_SITE="http://www.scim-im.org/" |
rocky@3532 | 12 WGET_URL="$SF_MIRROR/scim/$TARBALL" |
rocky@3532 | 13 #WGET_URL="http://kent.dl.sourceforge.net/sourceforge/scim/$TARBALL" |
pascal@1803 | 14 |
pascal@1803 | 15 # Rules to configure and make the package. |
pascal@1803 | 16 compile_rules() |
pascal@1803 | 17 { |
rocky@3532 | 18 cd $src |
rocky@3532 | 19 patch -p1 < ../stuff/cstring-gcc43.patch && |
rocky@3532 | 20 ./configure --prefix=/usr \ |
rocky@3532 | 21 --mandir=/usr/share/man \ |
rocky@3532 | 22 --infodir=/usr/share/info \ |
rocky@3532 | 23 --disable-static \ |
rocky@3532 | 24 $CONFIGURE_ARGS && |
rocky@3532 | 25 make && |
rocky@3532 | 26 make DESTDIR=$PWD/_pkg install |
pascal@1803 | 27 } |
pascal@1803 | 28 |
pascal@1803 | 29 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@1803 | 30 genpkg_rules() |
pascal@1803 | 31 { |
rocky@3532 | 32 mkdir -p $fs/usr/share |
rocky@3532 | 33 cp -a $_pkg/usr/lib $fs/usr |
rocky@3532 | 34 cp -a $_pkg/usr/share/scim $fs/usr/share |
rocky@3532 | 35 find $fs/usr/lib -name '*.la' -exec rm {} \; |
pascal@1803 | 36 } |