# SliTaz package receipt

PACKAGE="giblib"
VERSION="1.2.4"
CATEGORY="graphics"
SHORT_DESC="Giblib graphic library."
MAINTAINER="mallory@sweetpeople.org"
DEPENDS="imlib2 freetype xorg-libX11 xorg-libXau xorg-libXdmcp xorg-libXext"
BUILD_DEPENDS="imlib2-dev imlib2 xorg-xproto freetype-dev xorg-libXext-dev"
TARBALL="$PACKAGE-$VERSION.tar.gz"
WEB_SITE="http://linuxbrit.co.uk/feh/"
WGET_URL="http://linuxbrit.co.uk/downloads/$TARBALL"

# Rules to configure and make the package.
compile_rules()
{
	cd $src
	./configure --prefix=/usr $CONFIGURE_ARGS &&
	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/bin $fs/usr
	cp -a $_pkg/usr/lib $fs/usr
	rm -f $fs/usr/lib/*a
}