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
@ -15,5 +16,7 @@ long_desc="
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