# SliTaz package receipt.

PACKAGE="gnustep-back"
VERSION="0.20.0"
CATEGORY="x-window"
SHORT_DESC="GNUstep Generic back-end."
MAINTAINER="pankso@slitaz.org"
TARBALL="$PACKAGE-$VERSION.tar.gz"
WEB_SITE="http://www.gnustep.org/"
WGET_URL="ftp://ftp.gnustep.org/pub/gnustep/core/$TARBALL"

DEPENDS="gnustep-base gnustep-gui libart_lgpl audiofile aspell \
giflib gnutls libbfd util-linux-ng-uuid libtasn1 xorg-libXmu freetype"
BUILD_DEPENDS="gnustep-make tar gnustep-base-dev gnustep-gui-dev libart_lgpl-dev \
audiofile-dev aspell-dev giflib-dev gnutls-dev util-linux-ng-uuid-dev \
libtasn1-dev xorg-libXmu-dev freetype-dev"

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

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