wok view fcitx/receipt @ rev 9721

pangomm: Add cairomm-dev and glibmm-dev to build depends.
author Christopher Rogers <slaxemulator@gmail.com>
date Mon May 09 01:41:52 2011 +0000 (2011-05-09)
parents b09f15595730
children 3f3e2cc53af0
line source
1 # SliTaz package receipt.
3 PACKAGE="fcitx"
4 VERSION="4.0.1"
5 CATEGORY="x-window"
6 SHORT_DESC="Free Chinese Input Toy of X, a collection of Simplified Chinese input methods for Linux."
7 MAINTAINER="lufeng369@gmail.com"
8 DEPENDS="dbus pango"
9 BUILD_DEPENDS="intltool xorg-libXrender-dev pkg-config cairo-dev pango-dev"
10 TARBALL="$PACKAGE-${VERSION}_all.tar.gz"
11 WEB_SITE="http://code.google.com/p/fcitx/"
12 WGET_URL="http://fcitx.googlecode.com/files/$TARBALL"
14 # Rules to configure and make the package.
15 compile_rules()
16 {
17 cd $src
18 ./configure \
19 --prefix=/usr \
20 --disable-table-data &&
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 sed -i \
30 -e 's/DefaultValue=default/DefaultValue=classic/' \
31 -e 's/DefaultValue=L_CTRL/DefaultValue=L_SHIFT/' \
32 -e 's/DefaultValue=ALT_SPACE/DefaultValue=CTRL_./' \
33 -e 's/DefaultValue=-/DefaultValue=,/' \
34 -e 's/DefaultValue==/DefaultValue=./' $fs/usr/share/fcitx/data/config.desc
36 }