wok view fcitx/receipt @ rev 7712

yasr: add post install
author Paul Issott <paul@slitaz.org>
date Sun Dec 19 15:51:06 2010 +0000 (2010-12-19)
parents 48d5488504e1
children b09f15595730
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 make && make DESTDIR=$PWD/_pkg install
21 }
23 # Rules to gen a SliTaz package suitable for Tazpkg.
24 genpkg_rules()
25 {
26 mkdir -p $fs/usr
27 cp -a $_pkg/usr $fs/
28 rm -rf $fs/usr/share/fcitx/data/table
29 cp -f stuff/config.desc $fs/usr/share/fcitx/data/
30 }