# HG changeset patch # User Pascal Bellard # Date 1228210427 0 # Node ID 354ceea49ad0e1a60fcc4ded58f15cfdf27f6633 # Parent 67356fcbb83eab8ac59a62c5b8aa1efedbb7df07 Add scim-pinyin diff -r 67356fcbb83e -r 354ceea49ad0 scim-pinyin/receipt --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/scim-pinyin/receipt Tue Dec 02 09:33:47 2008 +0000 @@ -0,0 +1,54 @@ +# SliTaz package receipt. + +PACKAGE="scim-pinyin" +VERSION="0.5.91" +CATEGORY="utilities" +SHORT_DESC="Chinese PinYin input for SCIM" +MAINTAINER="slitaz@pworld.otherinbox.com" +DEPENDS="scim" +BUILD_DEPENDS="scim scim-dev" +TARBALL="$PACKAGE-$VERSION.tar.gz" +WEB_SITE="http://www.scim-im.org/" +#WGET_URL="$SF_MIRROR/scim/$TARBALL" +WGET_URL="http://kent.dl.sourceforge.net/sourceforge/scim/$TARBALL" + +# Rules to configure and make the package. +compile_rules() +{ + cd $src + export PKG_CONFIG_PATH=/usr/pkgconfig + ./configure --prefix=/usr --infodir=/usr/share/info \ + --mandir=/usr/share/man --disable-static $CONFIGURE_ARGS && + make && + make DESTDIR=$PWD/_pkg install +} + +# Rules to gen a SliTaz package suitable for Tazpkg. +genpkg_rules() +{ + mkdir -p $fs/usr/share + cp -a $_pkg/usr/lib $fs/usr + cp -a $_pkg/usr/share/scim $fs/usr/share + + # say goodbye to .la files + find $fs/usr/lib -name '*.la' -exec rm {} \; + find $fs/usr/lib -name '*.so' -exec strip -s {} \; +} + +# Pre and post install commands for Tazpkg. +post_install() +{ + cat <