wok-current annotate jpeg-dev/receipt @ rev 199

All *-dev pkgs goes in category development
author Christophe Lincoln <pankso@slitaz.org>
date Wed Feb 13 00:20:49 2008 +0100 (2008-02-13)
parents 8e5c96401d01
children b0ae2959206e
rev   line source
pankso@23 1 # SliTaz package receipt.
pankso@23 2
pankso@23 3 PACKAGE="jpeg-dev"
pankso@23 4 VERSION="6b"
pankso@199 5 CATEGORY="development"
pankso@23 6 SHORT_DESC="JPEG images libs."
pankso@23 7 MAINTAINER="pankso@slitaz.org"
pankso@23 8 WEB_SITE="http://www.ijg.org/"
pankso@23 9 WANTED="jpeg"
pankso@23 10
pankso@23 11 # Rules to configure and make the package.
pankso@23 12 compile_rules()
pankso@23 13 {
pankso@23 14 cd $src
pankso@23 15 ./configure --prefix=/usr \
pankso@23 16 --mandir=/usr/share/man $CONFIGURE_ARGS
pankso@23 17 make
pankso@23 18 }
pankso@23 19
pankso@23 20 # Rules to gen a SliTaz package suitable for Tazpkg.
pankso@23 21 genpkg_rules()
pankso@23 22 {
pankso@23 23 mkdir -p $fs/usr/lib $fs/usr/include
pankso@23 24 cp -a $src/libjpeg.la $fs/usr/lib
pankso@23 25 cp -a $src/libjpeg.a $fs/usr/lib
pankso@23 26 cp -a $src/jconfig.h $fs/usr/include
pankso@23 27 cp -a $src/jerror.h $fs/usr/include
pankso@23 28 cp -a $src/jmorecfg.h $fs/usr/include
pankso@23 29 cp -a $src/jpegint.h $fs/usr/include
pankso@23 30 cp -a $src/jpeglib.h $fs/usr/include
pankso@23 31 }