# SliTaz package receipt.

PACKAGE="libsexy"
VERSION="0.1.11"
CATEGORY="x-window"
SHORT_DESC="Sexy widgests for GTK+."
MAINTAINER="pankso@slitaz.org"
DEPENDS="gtk+ xorg-libXdamage"
BUILD_DEPENDS="pkg-config gtk+-dev xorg-xproto libxml2-dev"
TARBALL="$PACKAGE-$VERSION.tar.bz2"
WEB_SITE="http://www.chipx86.com/wiki/Libsexy"
WGET_URL="http://releases.chipx86.com/libsexy/libsexy/$TARBALL"

# Rules to configure and make the package.
compile_rules()
{
	cd $src
	./configure \
		--prefix=/usr \
		--mandir=/usr/share/man \
		$CONFIGURE_ARGS &&
	make &&
	make DESTDIR=$PWD/_pkg install
}

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