wok-next view fcitx-googlepinyin/receipt @ rev 20949
Fix homepages
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Sat Sep 01 16:21:51 2018 +0300 (2018-09-01) |
parents | 8d64ce80ab95 |
children | f48456621a9d |
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/Googlepinyin"
11 WGET_URL="https://download.fcitx-im.org/$PACKAGE/$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 }