diff --git a/templates/jasper-devel b/templates/jasper-devel new file mode 120000 index 00000000000..97d3aa96c9f --- /dev/null +++ b/templates/jasper-devel @@ -0,0 +1 @@ +jasper \ No newline at end of file diff --git a/templates/jasper/depends b/templates/jasper/depends new file mode 100644 index 00000000000..0aab3797533 --- /dev/null +++ b/templates/jasper/depends @@ -0,0 +1,2 @@ +abi_depends=1.900.1 +api_depends=${abi_depends} diff --git a/templates/jasper/devel.template b/templates/jasper/devel.template new file mode 100644 index 00000000000..838167155b5 --- /dev/null +++ b/templates/jasper/devel.template @@ -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 +} diff --git a/templates/jasper/template b/templates/jasper/template index 16abfb8521d..d6ec5829260 100644 --- a/templates/jasper/template +++ b/templates/jasper/template @@ -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 " 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