diff --git a/srcpkgs/jasper/jasper-devel.template b/srcpkgs/jasper/jasper-devel.template index 838167155b..deeff22095 100644 --- a/srcpkgs/jasper/jasper-devel.template +++ b/srcpkgs/jasper/jasper-devel.template @@ -1,16 +1,16 @@ # Template file for 'jasper-devel'. # -short_desc="${sourcepkg} (development files)" +short_desc="${sourcepkg} - development files" long_desc="${long_desc} 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() { 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/srcpkgs/jasper/libjasper.template b/srcpkgs/jasper/libjasper.template new file mode 100644 index 0000000000..05340911e0 --- /dev/null +++ b/srcpkgs/jasper/libjasper.template @@ -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 +} diff --git a/srcpkgs/jasper/template b/srcpkgs/jasper/template index cbe7625e73..58fd0b9851 100644 --- a/srcpkgs/jasper/template +++ b/srcpkgs/jasper/template @@ -1,7 +1,7 @@ # Template build file for 'jasper'. pkgname=jasper version=1.900.1 -revision=1 +revision=2 distfiles="http://www.ece.uvic.ca/~mdadams/jasper/software/$pkgname-$version.zip" build_style=gnu_configure 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 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 full glibc -Add_dependency full jpeg +Add_dependency build jpeg-devel diff --git a/srcpkgs/libjasper b/srcpkgs/libjasper new file mode 120000 index 0000000000..97d3aa96c9 --- /dev/null +++ b/srcpkgs/libjasper @@ -0,0 +1 @@ +jasper \ No newline at end of file diff --git a/xbps-src/common/mapping_shlib_binpkg.txt b/xbps-src/common/mapping_shlib_binpkg.txt index 52d1d155c7..169f8634a6 100644 --- a/xbps-src/common/mapping_shlib_binpkg.txt +++ b/xbps-src/common/mapping_shlib_binpkg.txt @@ -714,3 +714,4 @@ libsamplerate.so libsamplerate libsamplerate-devel libmms.so libmms libmms-devel libsmbclient.so libsmbclient samba-devel libwbclient.so libsmbclient samba-devel +libjasper.so libjasper jasper-devel