jasper: new deps style, converted to subpkgs.

--HG--
extra : convert_revision : 8c7c4e07e8f90bdd4291268c682a9f9bc032ff0a
This commit is contained in:
Juan RP 2009-04-17 17:26:26 +02:00
parent 0829338e84
commit 4ae31a0f77
4 changed files with 25 additions and 3 deletions

1
templates/jasper-devel Symbolic link
View File

@ -0,0 +1 @@
jasper

2
templates/jasper/depends Normal file
View File

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

View File

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

View File

@ -1,5 +1,6 @@
# Template build file for 'jasper'.
pkgname=jasper
sourcepkg=$pkgname
version=1.900.1
distfiles="http://www.ece.uvic.ca/~mdadams/jasper/software/$pkgname-$version.zip"
build_style=gnu_configure
@ -8,12 +9,14 @@ short_desc="Software-based reference implementation of the JPEG-2000 codec"
maintainer="Juan RP <xtraeme@gmail.com>"
checksum=6b905a9c2aca2e275544212666eefc4eb44d95d0a57e4305457b407fe63f9494
long_desc="
The JasPer Project is a collaborative effort between Image Power, Inc.
The JasPer Project is a collaborative effort between Image Power, Inc.
and the University of British Columbia. The objective of this project is
to develop a software-based reference implementation of the codec
specified in the JPEG-2000 Part-1 standard (i.e., ISO/IEC 15444-1).This
software has also been submitted to the ISO for inclusion in the JPEG-2000
Part-5 standard (as an official reference implementation)."
build_depends="unzip-5.52"
run_depends="glibc-2.8"
subpackages="devel"
Add_dependency build unzip
Add_dependency full glibc
Add_dependency full jpeg