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

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
}