wok annotate jpeg/receipt @ rev 18898
slitaz-boot-scripts (424), slitaz-tools (966), tazpanel (567), tazusb (184)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Wed Feb 17 11:45:28 2016 +0100 (2016-02-17) |
parents | 4d79baae0a6b |
children | 1f6313ccde29 |
rev | line source |
---|---|
pankso@23 | 1 # SliTaz package receipt. |
pankso@23 | 2 |
pankso@23 | 3 PACKAGE="jpeg" |
slaxemulator@12376 | 4 VERSION="8c" |
pankso@23 | 5 CATEGORY="x-window" |
rcx@5995 | 6 SHORT_DESC="JPEG image programs." |
pankso@23 | 7 MAINTAINER="pankso@slitaz.org" |
pascal@15600 | 8 LICENSE="MIT" |
pankso@23 | 9 WEB_SITE="http://www.ijg.org/" |
rcx@5995 | 10 TARBALL="jpegsrc.v${VERSION}.tar.gz" |
pankso@23 | 11 WGET_URL="http://www.ijg.org/files/$TARBALL" |
jozee@4941 | 12 TAGS="jpeg jpg" |
pankso@15994 | 13 HOST_ARCH="i486 arm" |
pankso@23 | 14 |
pascal@15600 | 15 DEPENDS="libjpeg" |
pascal@15600 | 16 |
pankso@23 | 17 # Rules to configure and make the package. |
pankso@23 | 18 compile_rules() |
pankso@23 | 19 { |
al@18663 | 20 ./configure \ |
pankso@15994 | 21 --enable-shared \ |
pankso@15994 | 22 --prefix=/usr \ |
pankso@15994 | 23 --mandir=/usr/share/man \ |
pankso@15994 | 24 $CONFIGURE_ARGS && |
al@18663 | 25 make && |
slaxemulator@12376 | 26 make DESTDIR=$DESTDIR install |
pankso@23 | 27 } |
pankso@23 | 28 |
pankso@23 | 29 # Rules to gen a SliTaz package suitable for Tazpkg. |
pankso@23 | 30 genpkg_rules() |
pankso@23 | 31 { |
pascal@16474 | 32 mkdir -p $fs/usr/lib |
pascal@15600 | 33 cp -a $install/usr/bin $fs/usr |
pankso@16483 | 34 # In libjpeg package |
pankso@16483 | 35 #cp -a $install/usr/lib/*.so* $fs/usr/lib |
pankso@23 | 36 } |