wok-6.x annotate fcitx-googlepinyin/receipt @ rev 16047
Update MAINTAINER for lufeng369
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Mon Mar 10 11:43:00 2014 +0000 (2014-03-10) |
parents | 7bb096863642 |
children | e3f377fbc5f0 |
rev | line source |
---|---|
hipeng@10960 | 1 # SliTaz package receipt. |
hipeng@10960 | 2 |
hipeng@10960 | 3 PACKAGE="fcitx-googlepinyin" |
hipeng@10965 | 4 VERSION="0.1.3" |
hipeng@10960 | 5 CATEGORY="x-window" |
hipeng@10960 | 6 SHORT_DESC="Googlepinyin Wrapper for Fcitx" |
pascal@16047 | 7 MAINTAINER="lufeng369@slitaz.org" |
pascal@15215 | 8 LICENSE="GPL2" |
hipeng@10960 | 9 TARBALL="$PACKAGE-$VERSION.tar.bz2" |
hipeng@10960 | 10 WEB_SITE="http://code.google.com/p/fcitx" |
hipeng@10960 | 11 WGET_URL="http://fcitx.googlecode.com/files/$TARBALL" |
hipeng@10960 | 12 |
pascal@15215 | 13 DEPENDS="fcitx libgooglepinyin" |
pascal@15215 | 14 BUILD_DEPENDS="cairo-dev pango-dev intltool cmake gtk+-dev gcc fcitx fcitx-dev libgooglepinyin-dev" |
pascal@15215 | 15 |
hipeng@10960 | 16 # Rules to configure and make the package. |
hipeng@10960 | 17 compile_rules() |
hipeng@10960 | 18 { |
slaxemulator@10962 | 19 mkdir -p $src/build |
slaxemulator@10962 | 20 cd $src/build |
slaxemulator@10962 | 21 cmake $src -DCMAKE_INSTALL_PREFIX=/usr || return 1 |
hipeng@10960 | 22 cd $src |
hipeng@10960 | 23 make -C build || return 1 |
slaxemulator@10962 | 24 make install/fast -C build DESTDIR=$DESTDIR |
hipeng@10960 | 25 } |
hipeng@10960 | 26 |
hipeng@10960 | 27 # Rules to gen a SliTaz package suitable for Tazpkg. |
hipeng@10960 | 28 genpkg_rules() |
hipeng@10960 | 29 { |
hipeng@10960 | 30 mkdir -p $fs/usr/share/fcitx/ $fs/usr/lib/fcitx/ |
pascal@15215 | 31 cp -a $install/usr/share/fcitx/addon/ $fs/usr/share/fcitx/ |
pascal@15215 | 32 cp -a $install/usr/share/fcitx/configdesc/ $fs/usr/share/fcitx/ |
pascal@15215 | 33 cp -a $install/usr/lib/fcitx/fcitx-googlepinyin* $fs/usr/lib/fcitx/ |
hipeng@10960 | 34 } |
hipeng@10960 | 35 |