wok-current annotate libjpeg62/receipt @ rev 21582
Use python-setuptools as bdeps (again)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sun May 19 19:45:04 2019 +0200 (2019-05-19) |
parents | b206aa4371e3 |
children | df63c4ce07f8 |
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 { |
pascal@20576 | 17 sed -i 's|uname -m|echo i686|' config.guess |
paul@7352 | 18 ./configure --enable-shared --prefix=/usr \ |
pascal@20559 | 19 --mandir=/usr/share/man $CONFIGURE_ARGS && |
pascal@20576 | 20 make |
paul@7352 | 21 } |
paul@7352 | 22 |
paul@7352 | 23 # Rules to gen a SliTaz package suitable for Tazpkg. |
paul@7352 | 24 genpkg_rules() |
paul@7352 | 25 { |
paul@7352 | 26 mkdir -p $fs/usr/lib |
paul@7352 | 27 cp -a $src/.libs/*.so.62* $fs/usr/lib |
paul@7352 | 28 } |