summaryrefslogtreecommitdiffstats
path: root/extra/pth/Pkgfile
blob: 68ad22dc7e447ac7573da3ac8cac1e179e6813a2 (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
25
26
# Description:  contains a very portable POSIX/ANSI-C based library for Unix platforms
# URL: http://ftp.gnu.org/gun/pth
# Maintainer: NuTyX core team
# Packager: thierryn1 at hispeed dot ch
# Depends on: 

name=pth
version=2.0.7
release=2
source=(http://ftp.gnu.org/gnu/$name/$name-$version.tar.gz)

build() {
	# build package
		cd $name-$version
                ./configure --prefix=/usr\
                            --mandir=/usr/share/man\
                            --infodir=/usr/share/info
		
	# pth ne supporte pas la parallelisation paramétrée dans pkgmk.conf		
	_MAKE=MAKEFLAGS
	export MAKEFLAGS='-j 1'
		make 
		make DESTDIR=$PKG install
	export MAKEFLAGS= _MAKE
}