wok annotate libjpeg62/receipt @ rev 25616

Add emu2
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sat Aug 26 15:51:29 2023 +0000 (10 months ago)
parents df63c4ce07f8
children
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"
pascal@25442 11 WGET_URL="http://archive.debian.org/debian/dists/slink/main/source/libs/$TARBALL"
paul@7352 12 TAGS="jpeg jpg"
paul@7352 13
pascal@25581 14 # What is the latest version available today?
pascal@25581 15 current_version()
pascal@25581 16 {
pascal@25581 17 wget -O - http://archive.debian.org/debian/dists/slink/main/source/libs/ 2>/dev/null | \
pascal@25581 18 sed '/libjpeg/!d;/tar/!d;s|.*jpeg[^_]*_||;s|\..*||;q'
pascal@25581 19 }
pascal@25581 20
paul@7352 21 # Rules to configure and make the package.
paul@7352 22 compile_rules()
paul@7352 23 {
pascal@20576 24 sed -i 's|uname -m|echo i686|' config.guess
paul@7352 25 ./configure --enable-shared --prefix=/usr \
pascal@20559 26 --mandir=/usr/share/man $CONFIGURE_ARGS &&
pascal@20576 27 make
paul@7352 28 }
paul@7352 29
paul@7352 30 # Rules to gen a SliTaz package suitable for Tazpkg.
paul@7352 31 genpkg_rules()
paul@7352 32 {
paul@7352 33 mkdir -p $fs/usr/lib
paul@7352 34 cp -a $src/.libs/*.so.62* $fs/usr/lib
paul@7352 35 }