# SliTaz package receipt.

PACKAGE="geany-plugins"
VERSION="0.21"
CATEGORY="development"
SHORT_DESC="Additionnal plugins for Geany."
MAINTAINER="pankso@slitaz.org"
DEPENDS="enchant gtkspell geany lua"
BUILD_DEPENDS="enchant-dev gtkspell-dev geany-dev lua-dev intltool"
TARBALL="$PACKAGE-$VERSION.tar.gz"
WEB_SITE="http://plugins.geany.org/"
WGET_URL="$WEB_SITE/$PACKAGE/$TARBALL"

# Rules to configure and make the package.
compile_rules()
{
	cd $src
	./configure --libexecdir=/usr/lib $CONFIGURE_ARGS &&
	make && make install
}

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