# SliTaz package receipt.

PACKAGE="fcitx-configtool"
VERSION="0.3.1"
CATEGORY="x-window"
SHORT_DESC="fcitx chinese input-medthod GUI configure tool"
MAINTAINER="fireflyoo <lufeng369@gmail.com>"
DEPENDS="fcitx gtk+"
BUILD_DEPENDS="fcitx libunique-dev gtk+-dev cmake intltool xorg-libXrender-dev \
pkg-config cairo-dev pango-dev fcitx-dev file"
TARBALL="$PACKAGE-$VERSION.tar.bz2"
WEB_SITE="http://fcitx.googlecode.com"
WGET_URL="http://fcitx.googlecode.com/files/$TARBALL"

# Rules to configure and make the package.
compile_rules()
{
	cd $src
	cmake -DCMAKE_INSTALL_PREFIX=/usr
	make && make DESTDIR=$PWD/_pkg install
}

# Rules to gen a SliTaz package suitable for Tazpkg.
genpkg_rules()
{
	mkdir -p $fs/usr
	cp -a $_pkg/usr $fs/
}