summaryrefslogtreecommitdiffstats
path: root/extra/whois/Pkgfile
blob: 66036ffa7a745fd22a924585f44a28f11811a5b8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
# Description: Client-side application which queries directory service
# URL: http://ftp.debian.org/debian/pool/main/w/whois
# Maintainer: NuTyX coreteam
# Packager: thierryn1 at hispeed dot ch
# Depends on:

name=whois
version=5.0.11
release=1
source=( ftp://ftp.debian.org/debian/pool/main/w/$name/$name\_$version.tar.gz)


build() {
	cd $name-$version
	if [ "`uname -m`" == "x86_64" ]; then
		sed -i "/_GNU_SOURCE/d" whois.c
	fi
	make prefix=/usr
	make prefix=/usr BASEDIR=$PKG install-whois

}