wok-next view fcitx-configtool/receipt @ rev 15638
aufs: run xz in compile_rules (again)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Mon Dec 09 20:27:20 2013 +0000 (2013-12-09) |
parents | 465c8216c4d2 |
children | 8d64ce80ab95 |
line source
1 # SliTaz package receipt.
3 PACKAGE="fcitx-configtool"
4 VERSION="0.3.1"
5 CATEGORY="x-window"
6 SHORT_DESC="fcitx chinese input-medthod GUI configure tool"
7 MAINTAINER="lufeng369@gmail.com"
8 LICENSE="GPL2"
9 TARBALL="$PACKAGE-$VERSION.tar.bz2"
10 WEB_SITE="http://fcitx.googlecode.com"
11 WGET_URL="http://fcitx.googlecode.com/files/$TARBALL"
13 DEPENDS="fcitx gtk+"
14 BUILD_DEPENDS="fcitx libunique-dev gtk+-dev cmake intltool xorg-libXrender-dev \
15 pkg-config cairo-dev pango-dev fcitx-dev file"
17 # Rules to configure and make the package.
18 compile_rules()
19 {
20 cd $src
21 sed -i 's|<glib/.*h>|<glib.h>|' gtk/sub_config_parser.[hc] gtk/config_widget.h
22 cmake -DCMAKE_INSTALL_PREFIX=/usr
23 make && make DESTDIR=$DESTDIR install
24 }
26 # Rules to gen a SliTaz package suitable for Tazpkg.
27 genpkg_rules()
28 {
29 mkdir -p $fs/usr
30 cp -a $install/usr $fs/
31 }