jpeg: converted to subpkgs, new deps style.

--HG--
extra : convert_revision : a578f6fe010638929b370c1d7dee6bc52fe59307
This commit is contained in:
Juan RP 2009-03-25 07:21:10 +01:00
parent 389d113373
commit d54c74d66b
5 changed files with 39 additions and 25 deletions

1
templates/jpeg-devel Symbolic link
View File

@ -0,0 +1 @@
jpeg

2
templates/jpeg/depends Normal file
View File

@ -0,0 +1,2 @@
abi_depends=6b
api_depends=${abi_depends}

View File

@ -0,0 +1,16 @@
# Template file for 'jpeg-devel'.
#
short_desc="${sourcepkg} development files"
long_desc="${long_desc}
This package contains files for development, headers, static libs, etc."
Add_dependency run jpeg
do_install()
{
mkdir -p ${DESTDIR}/usr/lib
mv ${SRCPKGDESTDIR}/usr/include ${DESTDIR}/usr
mv ${SRCPKGDESTDIR}/usr/lib/*.*a ${DESTDIR}/usr/lib
}

View File

@ -1,34 +1,29 @@
# Template build file for 'jpeg'.
pkgname=jpeg
version=6.0b
wrksrc=$pkgname-6b
patch_files="$pkgname-makefile-cfg.diff"
distfiles="
ftp://ftp.fu-berlin.de/unix/graphics/jpeg/jpegsrc.v6b.tar.gz"
sourcepkg=$pkgname
version=6b
distfiles="ftp://ftp.uu.net/graphics/jpeg/jpegsrc.v${version}.tar.gz"
build_style=gnu_configure
make_install_target="install install-lib"
make_install_target="prefix=$XBPS_DESTDIR/$pkgname-$version/usr
mandir=$XBPS_DESTDIR/$pkgname-$version/usr/share/man/man1 install"
configure_args="--enable-shared --enable-static"
short_desc="IJG's jpeg compression utilities"
maintainer="Juan RP <xtraeme@gmail.com>"
checksum=18892206014fbb8cae2a44e281f4ed53feaf7882
checksum=75c3ec241e9996504fe02a9ed4d12f16b74ade713972f3db9e65ce95cd27e35d
long_desc="
The Independent JPEG Group's JPEG software
==========================================
The jpeg package contains a library of functions for manipulating
JPEG images, as well as simple client programs for accessing the
libjpeg functions. Libjpeg client programs include cjpeg, djpeg,
jpegtran, rdjpgcom and wrjpgcom. Cjpeg compresses an image file into
JPEG format. Djpeg decompresses a JPEG file into a regular image
file. Jpegtran can perform various useful transformations on JPEG
files. Rdjpgcom displays any text comments included in a JPEG file.
Wrjpgcom inserts text comments into a JPEG file."
README for release 6 of 2-Aug-95
================================
subpackages="devel"
Add_dependency full glibc
This distribution contains the sixth public release of the Independent JPEG
Group's free JPEG software. You are welcome to redistribute this software and
to use it for any purpose, subject to the conditions under LEGAL ISSUES, below.
Serious users of this software (particularly those incorporating it into
larger programs) should contact IJG at jpeg-info@uunet.uu.net to be added to
our electronic mailing list. Mailing list members are notified of updates
and have a chance to participate in technical discussions, etc.
This software is the work of Tom Lane, Philip Gladstone, Luis Ortiz, Jim
Boucher, Lee Crocker, Julian Minguillon, George Phillips, Davide Rossi,
Ge' Weijers, and other members of the Independent JPEG Group.
IJG is not affiliated with the official ISO JPEG standards committee."
post_install()
{
install -D -m644 ${wrksrc}/jpegint.h ${DESTDIR}/usr/include
}