wok annotate fcitx/receipt @ rev 21824
syslinux/taziso: floppy by floppy fallback
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Tue Sep 10 09:01:01 2019 +0200 (2019-09-10) |
parents | 8d64ce80ab95 |
children | 544e47246b33 |
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." |
pascal@16047 | 7 MAINTAINER="lufeng369@slitaz.org" |
pascal@15002 | 8 LICENSE="GPL2" |
hipeng@10958 | 9 TARBALL="$PACKAGE-${VERSION}_all.tar.bz2" |
pascal@20673 | 10 WEB_SITE="https://fcitx-im.org/wiki/Fcitx" |
slaxemulator@7365 | 11 WGET_URL="http://fcitx.googlecode.com/files/$TARBALL" |
slaxemulator@7365 | 12 |
pascal@15002 | 13 DEPENDS="libfcitx fcitx-skin-default gtk+" |
pascal@15002 | 14 BUILD_DEPENDS="cmake intltool cairo-dev pango-dev gtk+-dev dbus-dev opencc-dev gcc" |
pascal@15002 | 15 |
slaxemulator@7365 | 16 # Rules to configure and make the package. |
slaxemulator@7365 | 17 compile_rules() |
slaxemulator@7365 | 18 { |
slaxemulator@10962 | 19 mkdir -p $src/build |
slaxemulator@10962 | 20 cd $src/build |
slaxemulator@10962 | 21 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 | 22 cd $src |
hipeng@10958 | 23 make -C build || return 1 |
slaxemulator@10962 | 24 make install/fast -C build DESTDIR=$DESTDIR |
slaxemulator@7365 | 25 } |
slaxemulator@7365 | 26 |
slaxemulator@7365 | 27 # Rules to gen a SliTaz package suitable for Tazpkg. |
slaxemulator@7365 | 28 genpkg_rules() |
slaxemulator@7365 | 29 { |
hipeng@10958 | 30 mkdir -p $fs/usr/bin/ $fs/usr/share/fcitx/ $fs/usr/share/applications/ |
pascal@15002 | 31 cp -a $install/usr/bin/fcitx $fs/usr/bin/ |
pascal@15002 | 32 cp -a $install/usr/bin/fcitx-configtool $fs/usr/bin/ |
pascal@15002 | 33 cp -a $install/usr/bin/fcitx-remote $fs/usr/bin/ |
pascal@15002 | 34 cp -a $install/usr/bin/fcitx4-config $fs/usr/bin/ |
pascal@15002 | 35 cp -a $install/usr/share/fcitx/addon/ $fs/usr/share/fcitx/ |
pascal@15002 | 36 cp -a $install/usr/share/fcitx/configdesc/ $fs/usr/share/fcitx/ |
pascal@15002 | 37 cp -a $install/usr/share/fcitx/data/ $fs/usr/share/fcitx/ |
pascal@15002 | 38 cp -a $install/usr/share/fcitx/pinyin/ $fs/usr/share/fcitx/ |
pascal@15002 | 39 cp -a $install/usr/share/fcitx/table/ $fs/usr/share/fcitx/ |
pascal@15002 | 40 cp -a $install/usr/share/applications/*.desktop $fs/usr/share/applications/ |
pascal@15002 | 41 cp -a $install/usr/share/icons/ $fs/usr/share/ |
lufeng369@7680 | 42 } |