wok-6.x view fcitx-googlepinyin/receipt @ rev 21870
busybox/command_not_found: use $PATH (again)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Wed Sep 25 11:06:27 2019 +0200 (2019-09-25) |
parents | 8d64ce80ab95 |
children | 544e47246b33 |
line source
1 # SliTaz package receipt.
3 PACKAGE="fcitx-googlepinyin"
4 VERSION="0.1.3"
5 CATEGORY="x-window"
6 SHORT_DESC="Googlepinyin Wrapper for Fcitx"
7 MAINTAINER="lufeng369@slitaz.org"
8 LICENSE="GPL2"
9 TARBALL="$PACKAGE-$VERSION.tar.bz2"
10 WEB_SITE="https://fcitx-im.org/wiki/Fcitx"
11 WGET_URL="http://fcitx.googlecode.com/files/$TARBALL"
13 DEPENDS="fcitx libgooglepinyin"
14 BUILD_DEPENDS="cairo-dev pango-dev intltool cmake gtk+-dev gcc fcitx fcitx-dev libgooglepinyin-dev"
16 # Rules to configure and make the package.
17 compile_rules()
18 {
19 mkdir -p $src/build
20 cd $src/build
21 cmake $src -DCMAKE_INSTALL_PREFIX=/usr || return 1
22 cd $src
23 make -C build || return 1
24 make install/fast -C build DESTDIR=$DESTDIR
25 }
27 # Rules to gen a SliTaz package suitable for Tazpkg.
28 genpkg_rules()
29 {
30 mkdir -p $fs/usr/share/fcitx/ $fs/usr/lib/fcitx/
31 cp -a $install/usr/share/fcitx/addon/ $fs/usr/share/fcitx/
32 cp -a $install/usr/share/fcitx/configdesc/ $fs/usr/share/fcitx/
33 cp -a $install/usr/lib/fcitx/fcitx-googlepinyin* $fs/usr/lib/fcitx/
34 }