wok view fcitx/receipt @ rev 7739
Added pre_install and post_remove to hd2u.
author | Christopher Rogers <slaxemulator@gmail.com> |
---|---|
date | Mon Dec 20 08:07:07 2010 +0000 (2010-12-20) |
parents | 08443e33c783 |
children | a6cc66b552c6 |
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 cp -f stuff/config.desc $fs/usr/share/fcitx/data/
30 }