wok annotate fcitx-configtool/receipt @ rev 10846
busybox: tiny edits
author | Paul Issott <paul@slitaz.org> |
---|---|
date | Sat Jun 11 13:16:57 2011 +0100 (2011-06-11) |
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 |