wok annotate jpeg/receipt @ rev 24093

Up squashfs (4.5)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Tue Jul 27 16:57:54 2021 +0000 (2021-07-27)
parents 038e3e646808
children 9a3f3ff0d575
rev   line source
pankso@23 1 # SliTaz package receipt.
pankso@23 2
pankso@23 3 PACKAGE="jpeg"
Hans-G?nter@22970 4 VERSION="9d"
pankso@23 5 CATEGORY="x-window"
Hans-G?nter@21086 6 TAGS="jpeg jpg"
rcx@5995 7 SHORT_DESC="JPEG image programs."
pankso@23 8 MAINTAINER="pankso@slitaz.org"
pascal@15600 9 LICENSE="MIT"
Hans-G?nter@21086 10 WEB_SITE="https://www.ijg.org/"
Hans-G?nter@21086 11
rcx@5995 12 TARBALL="jpegsrc.v${VERSION}.tar.gz"
pankso@23 13 WGET_URL="http://www.ijg.org/files/$TARBALL"
pankso@23 14
pascal@15600 15 DEPENDS="libjpeg"
Hans-G?nter@22970 16
Hans-G?nter@21086 17 HOST_ARCH="i486 arm"
pascal@15600 18
Hans-G?nter@22970 19 # @maintainers: Please update also: jpeg-dev and libjpeg
Hans-G?nter@22970 20
pascal@24070 21 current_version()
pascal@24070 22 {
pascal@24070 23 wget -O - $WEB_SITE 2>/dev/null | \
pascal@24070 24 sed '/tar.gz"/!d;s|.*src.v\(.*\).tar.*".*|\1|'
pascal@24070 25 }
pascal@24070 26
pankso@23 27 # Rules to configure and make the package.
pankso@23 28 compile_rules()
pankso@23 29 {
Hans-G?nter@22970 30 ./configure \
Hans-G?nter@22970 31 --enable-shared \
Hans-G?nter@22970 32 --prefix=/usr \
Hans-G?nter@22970 33 --mandir=/usr/share/man \
pankso@15994 34 $CONFIGURE_ARGS &&
al@18663 35 make &&
slaxemulator@12376 36 make DESTDIR=$DESTDIR install
pankso@23 37 }
pankso@23 38
pankso@23 39 # Rules to gen a SliTaz package suitable for Tazpkg.
pankso@23 40 genpkg_rules()
pankso@23 41 {
Hans-G?nter@21086 42 mkdir -p $fs/usr
Hans-G?nter@22970 43 cp -a $install/usr/bin $fs/usr
Hans-G?nter@21086 44
pankso@16483 45 # In libjpeg package
pankso@16483 46 #cp -a $install/usr/lib/*.so* $fs/usr/lib
pankso@23 47 }