wok-6.x annotate fcitx/receipt @ rev 14707
python-edbus-dev, python-edje-dev, python-elementary-dev, python-evas-dev: back to 1.7.0
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sat Jun 08 09:46:06 2013 +0200 (2013-06-08) |
parents | bacf9313d933 |
children | 7896f0694ef6 |
rev | line source |
---|---|
slaxemulator@7365 | 1 # SliTaz package receipt. |
slaxemulator@7365 | 2 |
slaxemulator@7365 | 3 PACKAGE="fcitx" |
hipeng@10964 | 4 VERSION="4.1.2" |
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" |
hipeng@10958 | 8 DEPENDS="libfcitx fcitx-skin-default gtk+" |
slaxemulator@10970 | 9 BUILD_DEPENDS="cmake intltool cairo-dev pango-dev gtk+-dev dbus-dev opencc-dev gcc" |
hipeng@10958 | 10 TARBALL="$PACKAGE-${VERSION}_all.tar.bz2" |
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@10962 | 17 mkdir -p $src/build |
slaxemulator@10962 | 18 cd $src/build |
slaxemulator@10962 | 19 cmake $src -DCMAKE_INSTALL_PREFIX=/usr -DENABLE_QT_IM_MODULE=OFF -DENABLE_GTK2_IM_MODULE=OFF -DENABLE_GTK3_IM_MODULE=OFF -DENABLE_OPENCC=ON || return 1 |
slaxemulator@7365 | 20 cd $src |
hipeng@10958 | 21 make -C build || return 1 |
slaxemulator@10962 | 22 make install/fast -C build DESTDIR=$DESTDIR |
slaxemulator@7365 | 23 } |
slaxemulator@7365 | 24 |
slaxemulator@7365 | 25 # Rules to gen a SliTaz package suitable for Tazpkg. |
slaxemulator@7365 | 26 genpkg_rules() |
slaxemulator@7365 | 27 { |
hipeng@10958 | 28 mkdir -p $fs/usr/bin/ $fs/usr/share/fcitx/ $fs/usr/share/applications/ |
hipeng@10958 | 29 cp -a $_pkg/usr/bin/fcitx $fs/usr/bin/ |
hipeng@10958 | 30 cp -a $_pkg/usr/bin/fcitx-configtool $fs/usr/bin/ |
hipeng@10958 | 31 cp -a $_pkg/usr/bin/fcitx-remote $fs/usr/bin/ |
hipeng@10958 | 32 cp -a $_pkg/usr/bin/fcitx4-config $fs/usr/bin/ |
hipeng@10958 | 33 cp -a $_pkg/usr/share/fcitx/addon/ $fs/usr/share/fcitx/ |
hipeng@10958 | 34 cp -a $_pkg/usr/share/fcitx/configdesc/ $fs/usr/share/fcitx/ |
hipeng@10958 | 35 cp -a $_pkg/usr/share/fcitx/data/ $fs/usr/share/fcitx/ |
hipeng@10958 | 36 cp -a $_pkg/usr/share/fcitx/pinyin/ $fs/usr/share/fcitx/ |
hipeng@10958 | 37 cp -a $_pkg/usr/share/fcitx/table/ $fs/usr/share/fcitx/ |
hipeng@10958 | 38 cp -a $_pkg/usr/share/applications/*.desktop $fs/usr/share/applications/ |
hipeng@10958 | 39 cp -a $_pkg/usr/share/icons/ $fs/usr/share/ |
lufeng369@7680 | 40 } |