diff options
Diffstat (limited to 'extra/whois/Pkgfile')
-rw-r--r-- | extra/whois/Pkgfile | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/extra/whois/Pkgfile b/extra/whois/Pkgfile new file mode 100644 index 000000000..66036ffa7 --- /dev/null +++ b/extra/whois/Pkgfile @@ -0,0 +1,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 + +} |