wok-next annotate fcitx-configtool/receipt @ rev 14746
Up xorg-libXrender (0.9.8), see http://www.x.org/wiki/Development/Security/Advisory-2013-05-23
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sat Jun 15 14:56:22 2013 +0200 (2013-06-15) |
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 |