wok-current view fcitx-configtool/receipt @ rev 13612

remmina: update bdeps
author Pascal Bellard <pascal.bellard@slitaz.org>
date Mon Nov 12 20:54:54 2012 +0100 (2012-11-12)
parents d71ba04aa9f5
children 7896f0694ef6
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 DEPENDS="fcitx gtk+"
9 BUILD_DEPENDS="fcitx libunique-dev gtk+-dev cmake intltool xorg-libXrender-dev \
10 pkg-config cairo-dev pango-dev fcitx-dev file"
11 TARBALL="$PACKAGE-$VERSION.tar.bz2"
12 WEB_SITE="http://fcitx.googlecode.com"
13 WGET_URL="http://fcitx.googlecode.com/files/$TARBALL"
15 # Rules to configure and make the package.
16 compile_rules()
17 {
18 cd $src
19 sed -i 's|<glib/.*h>|<glib.h>|' gtk/sub_config_parser.[hc] gtk/config_widget.h
20 cmake -DCMAKE_INSTALL_PREFIX=/usr
21 make && make DESTDIR=$PWD/_pkg install
22 }
24 # Rules to gen a SliTaz package suitable for Tazpkg.
25 genpkg_rules()
26 {
27 mkdir -p $fs/usr
28 cp -a $_pkg/usr $fs/
29 }