diff options
author | Florian Pritz <bluewind@xssn.at> | 2010-01-17 12:10:25 +0100 |
---|---|---|
committer | Florian Pritz <bluewind@xssn.at> | 2010-01-17 12:10:25 +0100 |
commit | ca2d44a6820a66e074d753b32fdc7c3d86e58a3d (patch) | |
tree | 52965f85df44d83395189f88eab9e663154c5a8f /libjpeg6/PKGBUILD | |
parent | dbd1c0d9ff79e45fe66955f48d87eb32c21965a2 (diff) | |
download | aur-packages-ca2d44a6820a66e074d753b32fdc7c3d86e58a3d.tar.gz aur-packages-ca2d44a6820a66e074d753b32fdc7c3d86e58a3d.tar.xz |
some more updates/adds
Signed-off-by: Florian Pritz <bluewind@xssn.at>
Diffstat (limited to 'libjpeg6/PKGBUILD')
-rw-r--r-- | libjpeg6/PKGBUILD | 38 |
1 files changed, 38 insertions, 0 deletions
diff --git a/libjpeg6/PKGBUILD b/libjpeg6/PKGBUILD new file mode 100644 index 0000000..50f5701 --- /dev/null +++ b/libjpeg6/PKGBUILD @@ -0,0 +1,38 @@ +# Contributor: Mikael Eriksson <mikael_eriksson@miffe.org> +# Resurected from svn, originaly by +# Maintainer: Allan McRae <allan@archlinux.org> +# Committer: Judd Vinet <jvinet@zeroflux.org> + +pkgname=libjpeg6 +pkgver=6b +pkgrel=7 +pkgdesc="Library of JPEG support functions" +arch=('i686' 'x86_64') +url="http://www.ijg.org/" +license=('custom') +depends=('glibc') +makedepends=('libtool') +options=(!libtool) +source=(ftp://ftp.debian.org/debian/pool/main/libj/libjpeg6b/libjpeg6b_6b.orig.tar.gz) +md5sums=('dbd5f3b47ed13132f04c685d608a7547') + +build() { + cd $srcdir/jpeg-$pkgver + cp /usr/share/libtool/config/config.{guess,sub} . + sed -i "s#./libtool#libtool#" configure + ./configure --prefix=/usr --enable-shared --enable-static + make || return 1 + mkdir -p $pkgdir/usr/{bin,lib,include,share/man/man1} + make prefix=$pkgdir/usr mandir=$pkgdir/usr/share/man/man1 install + install -m644 jpegint.h $pkgdir/usr/include + install -Dm644 README $pkgdir/usr/share/licenses/libjpeg6/README + # Fix /usr/bin + for fn in $pkgdir/usr/bin/*; do mv $fn ${fn}6; done + # Fix /usr/lib + rm $pkgdir/usr/lib/libjpeg.{a,so} + # Fix /usr/share/man + for fn in $pkgdir/usr/share/man/man1/*; do mv $fn ${fn%.1}6.1; done + # Fix /usr/include + mkdir -p $pkgdir/usr/include/libjpeg6 + mv $pkgdir/usr/include/*.h $pkgdir/usr/include/libjpeg6 +} |