wok annotate fcitx/receipt @ rev 8660
Up: clutter-dev to 1.6.2.
author | Christopher Rogers <slaxemulator@gmail.com> |
---|---|
date | Tue Feb 15 23:40:06 2011 +0000 (2011-02-15) |
parents | b09f15595730 |
children | 3f3e2cc53af0 |
rev | line source |
---|---|
slaxemulator@7365 | 1 # SliTaz package receipt. |
slaxemulator@7365 | 2 |
slaxemulator@7365 | 3 PACKAGE="fcitx" |
lufeng369@7680 | 4 VERSION="4.0.1" |
slaxemulator@7365 | 5 CATEGORY="x-window" |
slaxemulator@7365 | 6 SHORT_DESC="Free Chinese Input Toy of X, a collection of Simplified Chinese input methods for Linux." |
slaxemulator@7365 | 7 MAINTAINER="lufeng369@gmail.com" |
slaxemulator@7365 | 8 DEPENDS="dbus pango" |
slaxemulator@7365 | 9 BUILD_DEPENDS="intltool xorg-libXrender-dev pkg-config cairo-dev pango-dev" |
slaxemulator@7365 | 10 TARBALL="$PACKAGE-${VERSION}_all.tar.gz" |
slaxemulator@7365 | 11 WEB_SITE="http://code.google.com/p/fcitx/" |
slaxemulator@7365 | 12 WGET_URL="http://fcitx.googlecode.com/files/$TARBALL" |
slaxemulator@7365 | 13 |
slaxemulator@7365 | 14 # Rules to configure and make the package. |
slaxemulator@7365 | 15 compile_rules() |
slaxemulator@7365 | 16 { |
slaxemulator@7365 | 17 cd $src |
slaxemulator@7365 | 18 ./configure \ |
lufeng369@7732 | 19 --prefix=/usr \ |
lufeng369@7732 | 20 --disable-table-data && |
slaxemulator@7365 | 21 make && make DESTDIR=$PWD/_pkg install |
slaxemulator@7365 | 22 } |
slaxemulator@7365 | 23 |
slaxemulator@7365 | 24 # Rules to gen a SliTaz package suitable for Tazpkg. |
slaxemulator@7365 | 25 genpkg_rules() |
slaxemulator@7365 | 26 { |
slaxemulator@7365 | 27 mkdir -p $fs/usr |
slaxemulator@7365 | 28 cp -a $_pkg/usr $fs/ |
lufeng369@7753 | 29 sed -i \ |
lufeng369@7753 | 30 -e 's/DefaultValue=default/DefaultValue=classic/' \ |
lufeng369@7753 | 31 -e 's/DefaultValue=L_CTRL/DefaultValue=L_SHIFT/' \ |
lufeng369@7753 | 32 -e 's/DefaultValue=ALT_SPACE/DefaultValue=CTRL_./' \ |
lufeng369@7753 | 33 -e 's/DefaultValue=-/DefaultValue=,/' \ |
lufeng369@7753 | 34 -e 's/DefaultValue==/DefaultValue=./' $fs/usr/share/fcitx/data/config.desc |
lufeng369@7753 | 35 |
lufeng369@7680 | 36 } |