jasper: add libjasper subpkg, bumprev.

This commit is contained in:
Juan RP 2010-12-14 00:07:05 +01:00
parent e4bfc84c0b
commit decc932c12
5 changed files with 28 additions and 7 deletions

View file

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

View file

@ -0,0 +1,15 @@
# Template file for 'libjasper'.
#
short_desc="${sourcepkg} - shared library"
long_desc="${long_desc}
This package contains the shared library."
Add_dependency run glibc
Add_dependency run jpeg
do_install()
{
mkdir -p ${DESTDIR}/usr/lib
mv ${SRCPKGDESTDIR}/usr/lib/*.so* ${DESTDIR}/usr
}

View file

@ -1,7 +1,7 @@
# Template build file for 'jasper'. # Template build file for 'jasper'.
pkgname=jasper pkgname=jasper
version=1.900.1 version=1.900.1
revision=1 revision=2
distfiles="http://www.ece.uvic.ca/~mdadams/jasper/software/$pkgname-$version.zip" distfiles="http://www.ece.uvic.ca/~mdadams/jasper/software/$pkgname-$version.zip"
build_style=gnu_configure build_style=gnu_configure
configure_args="--enable-shared --without-x --disable-opengl" configure_args="--enable-shared --without-x --disable-opengl"
@ -16,7 +16,11 @@ long_desc="
software has also been submitted to the ISO for inclusion in the JPEG-2000 software has also been submitted to the ISO for inclusion in the JPEG-2000
Part-5 standard (as an official reference implementation)." Part-5 standard (as an official reference implementation)."
subpackages="$pkgname-devel" subpackages="libjasper $pkgname-devel"
Add_dependency run glibc
Add_dependency run jpeg
Add_dependency run libjasper
Add_dependency build unzip Add_dependency build unzip
Add_dependency full glibc Add_dependency build jpeg-devel
Add_dependency full jpeg

1
srcpkgs/libjasper Symbolic link
View file

@ -0,0 +1 @@
jasper

View file

@ -714,3 +714,4 @@ libsamplerate.so libsamplerate libsamplerate-devel
libmms.so libmms libmms-devel libmms.so libmms libmms-devel
libsmbclient.so libsmbclient samba-devel libsmbclient.so libsmbclient samba-devel
libwbclient.so libsmbclient samba-devel libwbclient.so libsmbclient samba-devel
libjasper.so libjasper jasper-devel