aboutsummaryrefslogtreecommitdiffstats
path: root/extra/libjpeg/APKBUILD
blob: 8a4374b24733abb366db44281f04c9f83ebc96e4 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
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"