summaryrefslogtreecommitdiffstats
path: root/base/whois/Pkgfile
blob: 505bc867fddd61e834bcd014878df3cb3049609f (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.6
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

}