# SliTaz package receipt.

PACKAGE="jpeg"
VERSION="9b"
CATEGORY="x-window"
SHORT_DESC="JPEG image programs."
MAINTAINER="pankso@slitaz.org"
DEPENDS="libjpeg"
WEB_SITE="http://www.ijg.org/"
TARBALL="jpegsrc.v${VERSION}.tar.gz"
WGET_URL="http://www.ijg.org/files/$TARBALL"
TAGS="jpeg jpg"

# Rules to configure and make the package.
compile_rules()
{
    cd $src
    ./configure --enable-shared --prefix=/usr \
	--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
}