wok annotate fcitx-configtool/receipt @ rev 12418
Split razorqt-power (with upower dep)
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Fri Apr 20 18:40:22 2012 +0200 (2012-04-20) |
parents | 04b0fbcc9f14 |
children | d71ba04aa9f5 |
rev | line source |
---|---|
lufeng369@7691 | 1 # SliTaz package receipt. |
lufeng369@7691 | 2 |
lufeng369@7691 | 3 PACKAGE="fcitx-configtool" |
pascal@11538 | 4 VERSION="0.3.1" |
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+" |
pascal@11514 | 9 BUILD_DEPENDS="fcitx libunique-dev gtk+-dev cmake intltool xorg-libXrender-dev \ |
pascal@11530 | 10 pkg-config cairo-dev pango-dev fcitx-dev file" |
pascal@11538 | 11 TARBALL="$PACKAGE-$VERSION.tar.bz2" |
lufeng369@7691 | 12 WEB_SITE="http://fcitx.googlecode.com" |
lufeng369@7691 | 13 WGET_URL="http://fcitx.googlecode.com/files/$TARBALL" |
lufeng369@7691 | 14 |
lufeng369@7691 | 15 # Rules to configure and make the package. |
lufeng369@7691 | 16 compile_rules() |
lufeng369@7691 | 17 { |
lufeng369@7691 | 18 cd $src |
lufeng369@7691 | 19 cmake -DCMAKE_INSTALL_PREFIX=/usr |
lufeng369@7691 | 20 make && make DESTDIR=$PWD/_pkg install |
lufeng369@7691 | 21 } |
lufeng369@7691 | 22 |
lufeng369@7691 | 23 # Rules to gen a SliTaz package suitable for Tazpkg. |
lufeng369@7691 | 24 genpkg_rules() |
lufeng369@7691 | 25 { |
lufeng369@7691 | 26 mkdir -p $fs/usr |
lufeng369@7691 | 27 cp -a $_pkg/usr $fs/ |
lufeng369@7691 | 28 } |
lufeng369@7691 | 29 |