opt/whois/Pkgfile

19 lines
589 B
Plaintext
Raw Normal View History

2006-02-23 16:26:10 +01: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 16:26:10 +01:00
# Packager: Olle Gustafsson, ogg at linux dot se
name=whois
2012-10-07 10:47:50 +02:00
version=5.0.20
2006-02-23 16:26:10 +01: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 16:26:10 +01: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
2006-10-07 16:52:37 +02:00
install -D -m 755 whois $PKG/usr/bin/whois
install -D -m 644 whois.1 $PKG/usr/man/man1/whois.1
2010-12-04 10:06:10 +01:00
install -D -m 644 whois.conf $PKG/etc/whois.conf
2006-02-23 16:26:10 +01:00
}