wok-6.x annotate scim-pinyin/receipt @ rev 16132

ARM: add xorg-printproto + eet
author Christophe Lincoln <pankso@slitaz.org>
date Tue Mar 25 22:51:54 2014 +0100 (2014-03-25)
parents d0d763c71fac
children 2f574b050e50
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"
pascal@15132 8 LICENSE="LGPL2.1"
pascal@1803 9 TARBALL="$PACKAGE-$VERSION.tar.gz"
pascal@1803 10 WEB_SITE="http://www.scim-im.org/"
rocky@3532 11 WGET_URL="$SF_MIRROR/scim/$TARBALL"
rocky@3532 12 #WGET_URL="http://kent.dl.sourceforge.net/sourceforge/scim/$TARBALL"
pascal@1803 13
pascal@15132 14 DEPENDS="scim"
pascal@15132 15 BUILD_DEPENDS="scim-dev gtk+-dev"
pascal@15132 16
pascal@1803 17 # Rules to configure and make the package.
pascal@1803 18 compile_rules()
pascal@1803 19 {
rocky@3532 20 cd $src
rocky@3573 21 while read file; do
rocky@3573 22 [ -f done.$file ] && continue
rocky@3573 23 echo "Apply $file..."
pascal@8974 24 patch -p1 < $stuff/$file || return 1
rocky@3573 25 touch done.$file
rocky@3573 26 done <<EOT
rocky@3573 27 cstring-gcc43.patch
rocky@3573 28 EOT
rocky@3532 29 ./configure --prefix=/usr \
rocky@3532 30 --mandir=/usr/share/man \
rocky@3532 31 --infodir=/usr/share/info \
rocky@3532 32 --disable-static \
rocky@3532 33 $CONFIGURE_ARGS &&
rocky@3532 34 make &&
pascal@15132 35 make DESTDIR=$DESTDIR install
pascal@1803 36 }
pascal@1803 37
pascal@1803 38 # Rules to gen a SliTaz package suitable for Tazpkg.
pascal@1803 39 genpkg_rules()
pascal@1803 40 {
rocky@3532 41 mkdir -p $fs/usr/share
pascal@15132 42 cp -a $install/usr/lib $fs/usr
pascal@15132 43 cp -a $install/usr/share/scim $fs/usr/share
rocky@3532 44 find $fs/usr/lib -name '*.la' -exec rm {} \;
pascal@1803 45 }