# SliTaz package receipt. PACKAGE="fcitx-googlepinyin" VERSION="0.1.3" CATEGORY="x-window" SHORT_DESC="Googlepinyin Wrapper for Fcitx" MAINTAINER="liupeng " DEPENDS="fcitx libgooglepinyin" BUILD_DEPENDS="cairo-dev pango-dev intltool cmake gtk+-dev gcc fcitx fcitx-dev libgooglepinyin-dev" TARBALL="$PACKAGE-$VERSION.tar.bz2" WEB_SITE="http://code.google.com/p/fcitx" WGET_URL="http://fcitx.googlecode.com/files/$TARBALL" # Rules to configure and make the package. compile_rules() { mkdir -p $src/build cd $src/build cmake $src -DCMAKE_INSTALL_PREFIX=/usr || return 1 cd $src make -C build || return 1 make install/fast -C build DESTDIR=$DESTDIR } # Rules to gen a SliTaz package suitable for Tazpkg. genpkg_rules() { mkdir -p $fs/usr/share/fcitx/ $fs/usr/lib/fcitx/ cp -a $_pkg/usr/share/fcitx/addon/ $fs/usr/share/fcitx/ cp -a $_pkg/usr/share/fcitx/configdesc/ $fs/usr/share/fcitx/ cp -a $_pkg/usr/lib/fcitx/fcitx-googlepinyin* $fs/usr/lib/fcitx/ }