wok view jpeg/receipt @ rev 25045
Update some wget_url or web_site
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sat Jun 04 08:33:59 2022 +0000 (2022-06-04) |
parents | 3cdc90c472a2 |
children | ccb3cb4d6f56 |
line source
1 # SliTaz package receipt.
3 PACKAGE="jpeg"
4 VERSION="9e"
5 CATEGORY="x-window"
6 TAGS="jpeg jpg"
7 SHORT_DESC="JPEG image programs."
8 MAINTAINER="pankso@slitaz.org"
9 LICENSE="MIT"
10 WEB_SITE="https://www.ijg.org/"
12 TARBALL="jpegsrc.v${VERSION}.tar.gz"
13 WGET_URL="http://www.ijg.org/files/$TARBALL"
15 DEPENDS="libjpeg"
17 HOST_ARCH="i486 arm"
19 # @maintainers: Please update also: jpeg-dev and libjpeg
21 current_version()
22 {
23 wget -O - $WEB_SITE 2>/dev/null | \
24 sed '/tar.gz"/!d;s|.*src.v\(.*\).tar.*".*|\1|'
25 }
27 # Rules to configure and make the package.
28 compile_rules()
29 {
30 ./configure \
31 --enable-shared \
32 --prefix=/usr \
33 --mandir=/usr/share/man \
34 $CONFIGURE_ARGS &&
35 make &&
36 make install DESTDIR=$DESTDIR
37 }
39 # Rules to gen a SliTaz package suitable for Tazpkg.
40 genpkg_rules()
41 {
42 cook_copy_folders bin
44 # In libjpeg package
45 #cp -a $install/usr/lib/*.so* $fs/usr/lib
46 }