wok view jpeg/receipt @ rev 25794
created recipe for exo-lang
author | Hans-G?nter Theisgen |
---|---|
date | Wed Oct 23 16:19:52 2024 +0100 (4 weeks ago) |
parents | 9a3f3ff0d575 |
children |
line source
1 # SliTaz package receipt.
3 PACKAGE="jpeg"
4 VERSION="9f"
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 }