wok view libjpeg62/receipt @ rev 25610

Update some current_version
author Pascal Bellard <pascal.bellard@slitaz.org>
date Fri Jul 21 17:16:04 2023 +0000 (16 months ago)
parents df63c4ce07f8
children
line source
1 # SliTaz package receipt.
3 PACKAGE="libjpeg62"
4 VERSION="6b"
5 CATEGORY="x-window"
6 SHORT_DESC="JPEG shared libs (from Independent JPEG Group)"
7 MAINTAINER="paul@slitaz.org"
8 LICENSE="MIT"
9 WEB_SITE="http://www.ijg.org/"
10 TARBALL="libjpeg6b_${VERSION}.orig.tar.gz"
11 WGET_URL="http://archive.debian.org/debian/dists/slink/main/source/libs/$TARBALL"
12 TAGS="jpeg jpg"
14 # What is the latest version available today?
15 current_version()
16 {
17 wget -O - http://archive.debian.org/debian/dists/slink/main/source/libs/ 2>/dev/null | \
18 sed '/libjpeg/!d;/tar/!d;s|.*jpeg[^_]*_||;s|\..*||;q'
19 }
21 # Rules to configure and make the package.
22 compile_rules()
23 {
24 sed -i 's|uname -m|echo i686|' config.guess
25 ./configure --enable-shared --prefix=/usr \
26 --mandir=/usr/share/man $CONFIGURE_ARGS &&
27 make
28 }
30 # Rules to gen a SliTaz package suitable for Tazpkg.
31 genpkg_rules()
32 {
33 mkdir -p $fs/usr/lib
34 cp -a $src/.libs/*.so.62* $fs/usr/lib
35 }