summaryrefslogtreecommitdiffstats
path: root/libjpeg/Pkgfile
blob: ebae8c0a0115cd38bea4c8cd05b4b1c2ea1a5f00 (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=8c
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
}