wok annotate jpeg/receipt @ rev 25539
Up perl-test-compile (3.1.0)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Thu Mar 09 12:11:13 2023 +0000 (22 months ago) |
parents | 3cdc90c472a2 |
children | ccb3cb4d6f56 |
rev | line source |
---|---|
pankso@23 | 1 # SliTaz package receipt. |
pankso@23 | 2 |
pankso@23 | 3 PACKAGE="jpeg" |
Hans-G?nter@24690 | 4 VERSION="9e" |
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 && |
Hans-G?nter@24690 | 36 make install DESTDIR=$DESTDIR |
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@24690 | 42 cook_copy_folders bin |
Hans-G?nter@21086 | 43 |
pankso@16483 | 44 # In libjpeg package |
pankso@16483 | 45 #cp -a $install/usr/lib/*.so* $fs/usr/lib |
pankso@23 | 46 } |