blob: d02bb47620d7d407c0231ae3b7e11fe990cb8c65 (
plain)
1 # Description: A modern whois client
2 # URL: http://www.linux.it/~md/software/
3 # Maintainer: Juergen Daubert, jue at crux dot nu
4 # Packager: Olle Gustafsson, ogg at linux dot se
5 # Depends on:
6
7 name=whois
8 version=5.0.10
9 release=1
10 source=(http://ftp.debian.org/debian/pool/main/w/$name/$name\_$version.tar.gz)
11
12 build() {
13 cd $name-$version
14 sed -i "/^CFLAGS/s/=.*$/=$CFLAGS/" Makefile
15 make CONFIG_FILE='/etc/whois.conf' whois
16 install -D -m 755 whois $PKG/usr/bin/whois
17 install -D -m 644 whois.1 $PKG/usr/man/man1/whois.1
18 install -D -m 644 whois.conf $PKG/etc/whois.conf
19 }
|