# HG changeset patch # User fireflyoo # Date 1292684531 -28800 # Node ID e49552dc1f276a9757f98f6ab51e94da54aa58e8 # Parent a361eb1b091ee262ba6a1d51a760d16196278798 add:fcitx-configtool,the fcitx chinese input-method GUI-configtool diff -r a361eb1b091e -r e49552dc1f27 fcitx-configtool/receipt --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/fcitx-configtool/receipt Sat Dec 18 23:02:11 2010 +0800 @@ -0,0 +1,28 @@ +# SliTaz package receipt. + +PACKAGE="fcitx-configtool" +VERSION="0.2.0" +CATEGORY="x-window" +SHORT_DESC="fcitx chinese input-medthod GUI configure tool" +MAINTAINER="fireflyoo " +DEPENDS="fcitx gtk+" +BUILD_DEPENDS="libunique-dev gtk+-dev cmake intltool xorg-libXrender-dev pkg-config cairo-dev pango-dev" +TARBALL="$PACKAGE-$VERSION.tar.gz" +WEB_SITE="http://fcitx.googlecode.com" +WGET_URL="http://fcitx.googlecode.com/files/$TARBALL" + +# Rules to configure and make the package. +compile_rules() +{ + cd $src + cmake -DCMAKE_INSTALL_PREFIX=/usr + make && make DESTDIR=$PWD/_pkg install +} + +# Rules to gen a SliTaz package suitable for Tazpkg. +genpkg_rules() +{ + mkdir -p $fs/usr + cp -a $_pkg/usr $fs/ +} +