wok-6.x view fcitx-configtool/receipt @ rev 14524
Up: transmission-web (2.52)
author | Richard Dunbar <mojo@slitaz.org> |
---|---|
date | Fri May 17 03:24:31 2013 +0000 (2013-05-17) |
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 }