From 2eaa565901242c46314f2a209932e2fefc0020ca Mon Sep 17 00:00:00 2001 From: Juan RP Date: Sun, 30 Jan 2011 10:34:45 +0100 Subject: [PATCH] jpeg: update to 8c, added jpeg-tools subpkg. --- srcpkgs/jpeg-tools | 1 + srcpkgs/jpeg/jpeg-tools.template | 15 +++++++++++++++ srcpkgs/jpeg/template | 7 +++---- 3 files changed, 19 insertions(+), 4 deletions(-) create mode 120000 srcpkgs/jpeg-tools create mode 100644 srcpkgs/jpeg/jpeg-tools.template diff --git a/srcpkgs/jpeg-tools b/srcpkgs/jpeg-tools new file mode 120000 index 00000000000..96721097153 --- /dev/null +++ b/srcpkgs/jpeg-tools @@ -0,0 +1 @@ +jpeg \ No newline at end of file diff --git a/srcpkgs/jpeg/jpeg-tools.template b/srcpkgs/jpeg/jpeg-tools.template new file mode 100644 index 00000000000..f2a264ac866 --- /dev/null +++ b/srcpkgs/jpeg/jpeg-tools.template @@ -0,0 +1,15 @@ +# Template file for 'jpeg-tools'. +# +short_desc="${sourcepkg} - bundled tools" +long_desc="${long_desc} + + This package contains tools to manipulate JPG files." + +Add_dependency run glibc +Add_dependency run jpeg ">=${version}" + +do_install() +{ + mkdir -p ${DESTDIR}/usr + mv ${SRCPKGDESTDIR}/usr/{bin,share} ${DESTDIR}/usr +} diff --git a/srcpkgs/jpeg/template b/srcpkgs/jpeg/template index 1e3b4445f0c..5fe20105754 100644 --- a/srcpkgs/jpeg/template +++ b/srcpkgs/jpeg/template @@ -1,7 +1,6 @@ # Template build file for 'jpeg'. pkgname=jpeg -version=8b -revision=1 +version=8c distfiles="http://www.ijg.org/files/jpegsrc.v${version}.tar.gz" build_style=gnu_configure make_install_target="prefix=$XBPS_DESTDIR/$pkgname-$version/usr @@ -9,7 +8,7 @@ make_install_target="prefix=$XBPS_DESTDIR/$pkgname-$version/usr configure_args="--enable-shared --enable-static" short_desc="IJG's jpeg compression utilities" maintainer="Juan RP " -checksum=36e6208edec591bae8f2fc370ea4f991447badb6377a125c211ffa7b503174a7 +checksum=edfc0b3e004b2fe58ffeeec89f96e3a3c28972c46725ec127d01edf8a1cc7c9a long_desc=" The jpeg package contains a library of functions for manipulating JPEG images, as well as simple client programs for accessing the @@ -20,7 +19,7 @@ long_desc=" files. Rdjpgcom displays any text comments included in a JPEG file. Wrjpgcom inserts text comments into a JPEG file." -subpackages="$pkgname-devel" +subpackages="jpeg-devel jpeg-tools" Add_dependency run glibc post_install()