wok-6.x annotate libjpeg62/receipt @ rev 20559
libjpeg62: set host,build,target
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Wed Dec 12 18:31:41 2018 +0100 (2018-12-12) |
parents | 762b649a4d73 |
children | b206aa4371e3 |
rev | line source |
---|---|
al@19001 | 1 # SliTaz package receipt. |
al@19001 | 2 |
paul@7352 | 3 PACKAGE="libjpeg62" |
paul@7352 | 4 VERSION="6b" |
paul@7352 | 5 CATEGORY="x-window" |
al@19001 | 6 SHORT_DESC="JPEG shared libs (from Independent JPEG Group)" |
paul@7352 | 7 MAINTAINER="paul@slitaz.org" |
pascal@15600 | 8 LICENSE="MIT" |
paul@7352 | 9 WEB_SITE="http://www.ijg.org/" |
al@19001 | 10 TARBALL="libjpeg6b_${VERSION}.orig.tar.gz" |
slaxemulator@7360 | 11 WGET_URL="ftp://ftp.debian.org/debian/pool/main/libj/libjpeg6b/$TARBALL" |
paul@7352 | 12 TAGS="jpeg jpg" |
paul@7352 | 13 |
paul@7352 | 14 # Rules to configure and make the package. |
paul@7352 | 15 compile_rules() |
paul@7352 | 16 { |
paul@7352 | 17 ./configure --enable-shared --prefix=/usr \ |
pascal@20559 | 18 --host=i686-pc-linux-gnu \ |
pascal@20559 | 19 --build=i686-pc-linux-gnu \ |
pascal@20559 | 20 --target=i686-pc-linux-gnu \ |
pascal@20559 | 21 --mandir=/usr/share/man $CONFIGURE_ARGS && |
paul@7352 | 22 make |
paul@7352 | 23 } |
paul@7352 | 24 |
paul@7352 | 25 # Rules to gen a SliTaz package suitable for Tazpkg. |
paul@7352 | 26 genpkg_rules() |
paul@7352 | 27 { |
paul@7352 | 28 mkdir -p $fs/usr/lib |
paul@7352 | 29 cp -a $src/.libs/*.so.62* $fs/usr/lib |
paul@7352 | 30 } |