wok-6.x annotate fcitx-configtool/receipt @ rev 11538
Up fcitx-configtool (0.3.1)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sun Dec 25 11:23:38 2011 +0100 (2011-12-25) |
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 |