wok annotate fcitx-configtool/receipt @ rev 15424
Up: thunderbird-langpack-pt_BR (17.0.9esr)
author | Dominique Corbex <domcox@slitaz.org> |
---|---|
date | Sun Nov 03 21:52:49 2013 +0100 (2013-11-03) |
parents | 465c8216c4d2 |
children | 8d64ce80ab95 |
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" |
pascal@15002 | 8 LICENSE="GPL2" |
pascal@15002 | 9 TARBALL="$PACKAGE-$VERSION.tar.bz2" |
pascal@15002 | 10 WEB_SITE="http://fcitx.googlecode.com" |
pascal@15002 | 11 WGET_URL="http://fcitx.googlecode.com/files/$TARBALL" |
pascal@15002 | 12 |
lufeng369@7691 | 13 DEPENDS="fcitx gtk+" |
pascal@11514 | 14 BUILD_DEPENDS="fcitx libunique-dev gtk+-dev cmake intltool xorg-libXrender-dev \ |
pascal@11530 | 15 pkg-config cairo-dev pango-dev fcitx-dev file" |
lufeng369@7691 | 16 |
lufeng369@7691 | 17 # Rules to configure and make the package. |
lufeng369@7691 | 18 compile_rules() |
lufeng369@7691 | 19 { |
lufeng369@7691 | 20 cd $src |
pascal@13030 | 21 sed -i 's|<glib/.*h>|<glib.h>|' gtk/sub_config_parser.[hc] gtk/config_widget.h |
lufeng369@7691 | 22 cmake -DCMAKE_INSTALL_PREFIX=/usr |
pascal@15002 | 23 make && make DESTDIR=$DESTDIR install |
lufeng369@7691 | 24 } |
lufeng369@7691 | 25 |
lufeng369@7691 | 26 # Rules to gen a SliTaz package suitable for Tazpkg. |
lufeng369@7691 | 27 genpkg_rules() |
lufeng369@7691 | 28 { |
lufeng369@7691 | 29 mkdir -p $fs/usr |
pascal@15002 | 30 cp -a $install/usr $fs/ |
lufeng369@7691 | 31 } |
lufeng369@7691 | 32 |