wok annotate fcitx-configtool/receipt @ rev 13115
grub2: add libdevmapper support
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Thu Jun 28 15:37:30 2012 +0200 (2012-06-28) |
parents | d71ba04aa9f5 |
children | 7896f0694ef6 |
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" |
pascal@13027 | 7 MAINTAINER="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 |
pascal@13030 | 19 sed -i 's|<glib/.*h>|<glib.h>|' gtk/sub_config_parser.[hc] gtk/config_widget.h |
lufeng369@7691 | 20 cmake -DCMAKE_INSTALL_PREFIX=/usr |
lufeng369@7691 | 21 make && make DESTDIR=$PWD/_pkg install |
lufeng369@7691 | 22 } |
lufeng369@7691 | 23 |
lufeng369@7691 | 24 # Rules to gen a SliTaz package suitable for Tazpkg. |
lufeng369@7691 | 25 genpkg_rules() |
lufeng369@7691 | 26 { |
lufeng369@7691 | 27 mkdir -p $fs/usr |
lufeng369@7691 | 28 cp -a $_pkg/usr $fs/ |
lufeng369@7691 | 29 } |
lufeng369@7691 | 30 |