wok-current view libjpeg62/receipt @ rev 25685

Add checkspace / fetchall feature for tazpkg
author Stanislas Leduc <shann@slitaz.org>
date Thu Mar 14 20:28:39 2024 +0000 (8 months ago)
parents 4cd6aef57b3a
children
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="http://archive.debian.org/debian/dists/slink/main/source/libs/$TARBALL"
12 TAGS="jpeg jpg"
14 # Rules to configure and make the package.
15 compile_rules()
16 {
17 sed -i 's|uname -m|echo i686|' config.guess
18 ./configure --enable-shared --prefix=/usr \
19 --mandir=/usr/share/man $CONFIGURE_ARGS &&
20 make
21 }
23 # Rules to gen a SliTaz package suitable for Tazpkg.
24 genpkg_rules()
25 {
26 mkdir -p $fs/usr/lib
27 cp -a $src/.libs/*.so.62* $fs/usr/lib
28 }