wok-current diff jpeg-dev/receipt @ rev 122

Chandeg category for dev pkgs
author Christophe Lincoln <pankso@slitaz.org>
date Sat Jan 05 23:00:53 2008 +0100 (2008-01-05)
parents
children 3e085751bf3a
line diff
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/jpeg-dev/receipt	Sat Jan 05 23:00:53 2008 +0100
     1.3 @@ -0,0 +1,31 @@
     1.4 +# SliTaz package receipt.
     1.5 +
     1.6 +PACKAGE="jpeg-dev"
     1.7 +VERSION="6b"
     1.8 +CATEGORY="x-window"
     1.9 +SHORT_DESC="JPEG images libs."
    1.10 +MAINTAINER="pankso@slitaz.org"
    1.11 +WEB_SITE="http://www.ijg.org/"
    1.12 +WANTED="jpeg"
    1.13 +
    1.14 +# Rules to configure and make the package.
    1.15 +compile_rules()
    1.16 +{
    1.17 +    cd $src
    1.18 +    ./configure --prefix=/usr \
    1.19 +    --mandir=/usr/share/man $CONFIGURE_ARGS
    1.20 +    make
    1.21 +}
    1.22 +
    1.23 +# Rules to gen a SliTaz package suitable for Tazpkg.
    1.24 +genpkg_rules()
    1.25 +{
    1.26 +	mkdir -p $fs/usr/lib $fs/usr/include
    1.27 +	cp -a $src/libjpeg.la $fs/usr/lib
    1.28 +	cp -a $src/libjpeg.a $fs/usr/lib
    1.29 +	cp -a $src/jconfig.h $fs/usr/include
    1.30 +	cp -a $src/jerror.h $fs/usr/include
    1.31 +	cp -a $src/jmorecfg.h $fs/usr/include
    1.32 +	cp -a $src/jpegint.h $fs/usr/include
    1.33 +	cp -a $src/jpeglib.h $fs/usr/include
    1.34 +}