wok-6.x annotate fcitx-googlepinyin/receipt @ rev 10960
Add: libgooglepinyin, fcitx-googlepinyin
author | Liu Peng <hipeng@yahoo.com> |
---|---|
date | Tue Sep 20 20:37:05 2011 +0800 (2011-09-20) |
parents | |
children | 3af70ef3a7ac |
rev | line source |
---|---|
hipeng@10960 | 1 # SliTaz package receipt. |
hipeng@10960 | 2 |
hipeng@10960 | 3 PACKAGE="fcitx-googlepinyin" |
hipeng@10960 | 4 VERSION="0.1.2" |
hipeng@10960 | 5 CATEGORY="x-window" |
hipeng@10960 | 6 SHORT_DESC="Googlepinyin Wrapper for Fcitx" |
hipeng@10960 | 7 MAINTAINER="liupeng <hipeng@yahoo.com>" |
hipeng@10960 | 8 DEPENDS="fcitx libgooglepinyin" |
hipeng@10960 | 9 BUILD_DEPENDS="cairo-dev pango-dev intltool cmake gtk+-dev gcc fcitx fcitx-dev libgooglepinyin-dev" |
hipeng@10960 | 10 TARBALL="$PACKAGE-$VERSION.tar.bz2" |
hipeng@10960 | 11 WEB_SITE="http://code.google.com/p/fcitx" |
hipeng@10960 | 12 WGET_URL="http://fcitx.googlecode.com/files/$TARBALL" |
hipeng@10960 | 13 |
hipeng@10960 | 14 # Rules to configure and make the package. |
hipeng@10960 | 15 compile_rules() |
hipeng@10960 | 16 { |
hipeng@10960 | 17 cd $src |
hipeng@10960 | 18 mkdir build |
hipeng@10960 | 19 pushd build |
hipeng@10960 | 20 cmake ../ -DCMAKE_INSTALL_PREFIX=/usr || return 1 |
hipeng@10960 | 21 popd |
hipeng@10960 | 22 make -C build || return 1 |
hipeng@10960 | 23 make install/fast -C build DESTDIR=$PWD/_pkg |
hipeng@10960 | 24 } |
hipeng@10960 | 25 |
hipeng@10960 | 26 # Rules to gen a SliTaz package suitable for Tazpkg. |
hipeng@10960 | 27 genpkg_rules() |
hipeng@10960 | 28 { |
hipeng@10960 | 29 mkdir -p $fs/usr/share/fcitx/ $fs/usr/lib/fcitx/ |
hipeng@10960 | 30 cp -a $_pkg/usr/share/fcitx/addon/ $fs/usr/share/fcitx/ |
hipeng@10960 | 31 cp -a $_pkg/usr/share/fcitx/configdesc/ $fs/usr/share/fcitx/ |
hipeng@10960 | 32 cp -a $_pkg/usr/lib/fcitx/fcitx-googlepinyin* $fs/usr/lib/fcitx/ |
hipeng@10960 | 33 } |
hipeng@10960 | 34 |