wok annotate jpeg-dev/receipt @ rev 108
Set autoconf + automake BUILD_DEPENDS
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Fri Jan 04 17:50:59 2008 +0100 (2008-01-04) |
parents | |
children | 3e085751bf3a |
rev | line source |
---|---|
pankso@23 | 1 # SliTaz package receipt. |
pankso@23 | 2 |
pankso@23 | 3 PACKAGE="jpeg-dev" |
pankso@23 | 4 VERSION="6b" |
pankso@23 | 5 CATEGORY="x-window" |
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 } |