wok view libjpeg62/receipt @ rev 20559

libjpeg62: set host,build,target
author Pascal Bellard <pascal.bellard@slitaz.org>
date Wed Dec 12 18:31:41 2018 +0100 (2018-12-12)
parents 762b649a4d73
children b206aa4371e3
line source
1 # SliTaz package receipt.
3 PACKAGE="libjpeg62"
4 VERSION="6b"
5 CATEGORY="x-window"
6 SHORT_DESC="JPEG shared libs (from Independent JPEG Group)"
7 MAINTAINER="paul@slitaz.org"
8 LICENSE="MIT"
9 WEB_SITE="http://www.ijg.org/"
10 TARBALL="libjpeg6b_${VERSION}.orig.tar.gz"
11 WGET_URL="ftp://ftp.debian.org/debian/pool/main/libj/libjpeg6b/$TARBALL"
12 TAGS="jpeg jpg"
14 # Rules to configure and make the package.
15 compile_rules()
16 {
17 ./configure --enable-shared --prefix=/usr \
18 --host=i686-pc-linux-gnu \
19 --build=i686-pc-linux-gnu \
20 --target=i686-pc-linux-gnu \
21 --mandir=/usr/share/man $CONFIGURE_ARGS &&
22 make
23 }
25 # Rules to gen a SliTaz package suitable for Tazpkg.
26 genpkg_rules()
27 {
28 mkdir -p $fs/usr/lib
29 cp -a $src/.libs/*.so.62* $fs/usr/lib
30 }