wok-next annotate scim-pinyin/receipt @ rev 7436
Up: cache to 3.1.3.
author | Christopher Rogers <slaxemulator@gmail.com> |
---|---|
date | Mon Nov 29 05:08:22 2010 +0000 (2010-11-29) |
parents | 012d72b2b629 |
children | 940b5937e496 |
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@3573 | 19 while read file; do |
rocky@3573 | 20 [ -f done.$file ] && continue |
rocky@3573 | 21 echo "Apply $file..." |
rocky@3573 | 22 patch -p1 < ../stuff/$file || return 1 |
rocky@3573 | 23 touch done.$file |
rocky@3573 | 24 done <<EOT |
rocky@3573 | 25 cstring-gcc43.patch |
rocky@3573 | 26 EOT |
rocky@3532 | 27 ./configure --prefix=/usr \ |
rocky@3532 | 28 --mandir=/usr/share/man \ |
rocky@3532 | 29 --infodir=/usr/share/info \ |
rocky@3532 | 30 --disable-static \ |
rocky@3532 | 31 $CONFIGURE_ARGS && |
rocky@3532 | 32 make && |
rocky@3532 | 33 make DESTDIR=$PWD/_pkg install |
pascal@1803 | 34 } |
pascal@1803 | 35 |
pascal@1803 | 36 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@1803 | 37 genpkg_rules() |
pascal@1803 | 38 { |
rocky@3532 | 39 mkdir -p $fs/usr/share |
rocky@3532 | 40 cp -a $_pkg/usr/lib $fs/usr |
rocky@3532 | 41 cp -a $_pkg/usr/share/scim $fs/usr/share |
rocky@3532 | 42 find $fs/usr/lib -name '*.la' -exec rm {} \; |
pascal@1803 | 43 } |