# SliTaz package receipt.

PACKAGE="zile"
VERSION="2.3.21"
CATEGORY="development"
SHORT_DESC="GNU Zile is a lightweight Emacs clone."
MAINTAINER="domcox@slitaz.org"
DEPENDS="ncurses"
BUILD_DEPENDS="ncurses-dev"
TARBALL="$PACKAGE-$VERSION.tar.gz"
WEB_SITE="http://www.gnu.org/software/zile/"
WGET_URL="$GNU_MIRROR/$PACKAGE/$TARBALL"
TAGS="text-editor"

# Rules to configure and make the package.
compile_rules()
{
	cd $src
	./configure \
		--prefix=/usr \
		--infodir=/usr/share/info \
		--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
	cp -a $_pkg/usr/bin $fs/usr
}