aboutsummaryrefslogtreecommitdiffstats
path: root/extra/libjpeg/APKBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'extra/libjpeg/APKBUILD')
-rw-r--r--extra/libjpeg/APKBUILD29
1 files changed, 29 insertions, 0 deletions
diff --git a/extra/libjpeg/APKBUILD b/extra/libjpeg/APKBUILD
new file mode 100644
index 0000000000..8a4374b247
--- /dev/null
+++ b/extra/libjpeg/APKBUILD
@@ -0,0 +1,29 @@
+# Contributor: Carlo Landmeter <clandmeter at gmail>
+# Maintainer: Carlo Landmeter <clandmeter at gmail>
+pkgname=libjpeg
+pkgver=6b
+pkgrel=0
+pkgdesc="Library of JPEG support functions"
+url="http://www.ijg.org/"
+license="custom"
+depends=""
+makedepends=""
+install=
+subpackages="$pkgname-doc $pkgname-dev"
+source="ftp://ftp.uu.net/graphics/jpeg/jpegsrc.v${pkgver}.tar.gz"
+
+build() {
+ cd "$srcdir/jpeg-$pkgver"
+
+ ./configure --prefix=/usr \
+ --sysconfdir=/etc \
+ --mandir=/usr/share/man \
+ --infodir=/usr/share/info
+ make || return 1
+ for i in bin lib include share/man/man1; do
+ mkdir -p "$pkgdir"/usr/"$i"
+ done
+ make prefix="$pkgdir"/usr mandir="$pkgdir"/usr/share/man/man1 install
+}
+
+md5sums="dbd5f3b47ed13132f04c685d608a7547 jpegsrc.v6b.tar.gz"