wok-stable annotate jpeg/receipt @ rev 5573
tcc: add cross compilers
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sat May 15 16:05:09 2010 +0200 (2010-05-15) |
parents | 8e5c96401d01 |
children | b0ae2959206e |
rev | line source |
---|---|
pankso@23 | 1 # SliTaz package receipt. |
pankso@23 | 2 |
pankso@23 | 3 PACKAGE="jpeg" |
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 TARBALL="jpegsrc.v6b.tar.gz" |
pankso@23 | 10 WGET_URL="http://www.ijg.org/files/$TARBALL" |
jozee@4941 | 11 TAGS="jpeg jpg" |
pankso@23 | 12 |
pankso@23 | 13 # Rules to configure and make the package. |
pankso@23 | 14 compile_rules() |
pankso@23 | 15 { |
pankso@23 | 16 cd $src |
pankso@23 | 17 ./configure --enable-shared --prefix=/usr \ |
pankso@23 | 18 --mandir=/usr/share/man $CONFIGURE_ARGS |
pankso@23 | 19 make |
pankso@23 | 20 } |
pankso@23 | 21 |
pankso@23 | 22 # Rules to gen a SliTaz package suitable for Tazpkg. |
pankso@23 | 23 genpkg_rules() |
pankso@23 | 24 { |
pankso@23 | 25 mkdir -p $fs/usr/lib $fs/usr/bin |
pankso@23 | 26 cp -a $src/.libs/*.so* $fs/usr/lib |
pankso@23 | 27 cp $src/.libs/cjpeg $fs/usr/bin |
pankso@23 | 28 cp $src/.libs/djpeg $fs/usr/bin |
pankso@23 | 29 cp $src/.libs/jpegtran $fs/usr/bin |
pankso@23 | 30 strip -s $fs/usr/*/* |
pankso@23 | 31 } |