# SliTaz package receipt.

PACKAGE="gnustep-make"
VERSION="2.6.0"
CATEGORY="development"
SHORT_DESC="GNUstep make package."
MAINTAINER="pankso@slitaz.org"
DEPENDS="make"
TARBALL="$PACKAGE-$VERSION.tar.gz"
WEB_SITE="http://www.gnustep.org/"
WGET_URL="ftp://ftp.gnustep.org/pub/gnustep/core/$TARBALL"

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

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