2006-02-23 15:26:10 +00:00
|
|
|
# Description: A modern whois client
|
|
|
|
# URL: http://www.linux.it/~md/software/
|
2011-02-02 13:44:37 +01:00
|
|
|
# Maintainer: Juergen Daubert, jue at crux dot nu
|
2006-02-23 15:26:10 +00:00
|
|
|
# Packager: Olle Gustafsson, ogg at linux dot se
|
|
|
|
|
|
|
|
name=whois
|
2015-07-30 08:34:40 +02:00
|
|
|
version=5.2.10
|
2006-02-23 15:26:10 +00:00
|
|
|
release=1
|
2012-03-16 09:29:52 +01:00
|
|
|
source=(http://ftp.debian.org/debian/pool/main/w/$name/$name\_$version.tar.xz)
|
2006-02-23 15:26:10 +00:00
|
|
|
|
|
|
|
build() {
|
|
|
|
cd $name-$version
|
2009-06-18 10:02:46 +02:00
|
|
|
sed -i "/^CFLAGS/s/=.*$/=$CFLAGS/" Makefile
|
2010-12-04 10:06:10 +01:00
|
|
|
make CONFIG_FILE='/etc/whois.conf' whois
|
2013-04-19 17:16:21 +02:00
|
|
|
install -D -m 0755 whois $PKG/usr/bin/whois
|
|
|
|
install -D -m 0644 whois.1 $PKG/usr/man/man1/whois.1
|
|
|
|
install -D -m 0644 whois.conf.5 $PKG/usr/man/man5/whois.conf.5
|
|
|
|
install -D -m 0644 whois.conf $PKG/etc/whois.conf
|
2006-02-23 15:26:10 +00:00
|
|
|
}
|