wok-next annotate fcitx-configtool/receipt @ rev 10754

slitaz-i18n-extra: use EXTRA_PKGS as bdeps
author Christophe Lincoln <pankso@slitaz.org>
date Mon May 30 22:12:10 2011 +0200 (2011-05-30)
parents e49552dc1f27
children 9ce6eb5f2ff4
rev   line source
lufeng369@7691 1 # SliTaz package receipt.
lufeng369@7691 2
lufeng369@7691 3 PACKAGE="fcitx-configtool"
lufeng369@7691 4 VERSION="0.2.0"
lufeng369@7691 5 CATEGORY="x-window"
lufeng369@7691 6 SHORT_DESC="fcitx chinese input-medthod GUI configure tool"
lufeng369@7691 7 MAINTAINER="fireflyoo <lufeng369@gmail.com>"
lufeng369@7691 8 DEPENDS="fcitx gtk+"
lufeng369@7692 9 BUILD_DEPENDS="fcitx libunique-dev gtk+-dev cmake intltool xorg-libXrender-dev pkg-config cairo-dev pango-dev"
lufeng369@7691 10 TARBALL="$PACKAGE-$VERSION.tar.gz"
lufeng369@7691 11 WEB_SITE="http://fcitx.googlecode.com"
lufeng369@7691 12 WGET_URL="http://fcitx.googlecode.com/files/$TARBALL"
lufeng369@7691 13
lufeng369@7691 14 # Rules to configure and make the package.
lufeng369@7691 15 compile_rules()
lufeng369@7691 16 {
lufeng369@7691 17 cd $src
lufeng369@7691 18 cmake -DCMAKE_INSTALL_PREFIX=/usr
lufeng369@7691 19 make && make DESTDIR=$PWD/_pkg install
lufeng369@7691 20 }
lufeng369@7691 21
lufeng369@7691 22 # Rules to gen a SliTaz package suitable for Tazpkg.
lufeng369@7691 23 genpkg_rules()
lufeng369@7691 24 {
lufeng369@7691 25 mkdir -p $fs/usr
lufeng369@7691 26 cp -a $_pkg/usr $fs/
lufeng369@7691 27 }
lufeng369@7691 28