summaryrefslogtreecommitdiffstats
path: root/base/libjpeg/Pkgfile
blob: 22ed7237c3cb66cc6e8b0f91560e9d19ff5a72f8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
# Description: Librairie de fonctions de support jpeg
# URL: http://www.ijg.org/
# Maintainer: NuTyX core team
# Packager: thierryn1 at hispeed dot ch

name=libjpeg
version=8a
release=1
source=( http://www.ijg.org/files/jpegsrc.v${version}.tar.gz)


build() {
	cd jpeg-${version}
	./configure --prefix=/usr \
		--mandir=/usr/share/man \
		--infodir=/usr/share/info \
                --enable-shared \
                --enable-static
	make
        mkdir -p $PKG/usr/include $PKG/usr/lib $PKG/usr/bin
        mkdir -p $PKG/usr/share/man/man1
	make prefix=$PKG/usr mandir=$PKG/usr/share/man/man1 infodir=$PKG/usr/share/info install
}