#Slitaz package receipt

PACKED_SIZE="248.0K"
UNPACKED_SIZE="1.2M"
PACKAGE="joe"
VERSION="3.7"
CATEGORY="utilities"
SHORT_DESC="Joe's Own editor is a fully featured terminal based screen editor"
MAINTAINER="threarth@yahoo.it"
LICENSE="GPL"
TARBALL="$PACKAGE-$VERSION.tar.gz"
WEB_SITE="http://joe-editor.sourceforge.net/"
WGET_URL="http://downloads.sourceforge.net/project/joe-editor/JOE%20sources/$PACKAGE-$VERSION/$PACKAGE-$VERSION.tar.gz"
HOST_ARCH="i486 arm"

DEPENDS="ncursesw"
BUILD_DEPENDS="ncursesw-dev"

# Rules to configure and make the package.
compile_rules()
{
	./configure --sysconfdir=/etc \
		$CONFIGURE_ARGS &&
	make && make install
}

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