summaryrefslogtreecommitdiffstats
path: root/extra/libjpeg/Pkgfile
blob: 657e61b9a98e5fe0ac5e2562b96806f50a55a20d (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=7
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
}