opt/whois/Pkgfile

19 lines
580 B
Plaintext
Raw Normal View History

2006-02-23 16:26:10 +01:00
# Description: A modern whois client
2021-02-16 14:12:13 +01:00
# URL: http://www.linux.it/~md/software/
# Maintainer: Juergen Daubert, jue at crux dot nu
2006-02-23 16:26:10 +01:00
name=whois
2021-06-07 11:32:48 +02:00
version=5.5.10
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() {
2021-02-16 14:12:13 +01:00
cd $name
sed -i "/^CFLAGS/s/=.*$/=$CFLAGS/" Makefile
make CONFIG_FILE='/etc/whois.conf' whois
install -D -m 0755 whois $PKG/usr/bin/whois
install -D -m 0644 whois.1 $PKG/usr/share/man/man1/whois.1
install -D -m 0644 whois.conf.5 $PKG/usr/share/man/man5/whois.conf.5
install -D -m 0644 whois.conf $PKG/etc/whois.conf
2006-02-23 16:26:10 +01:00
}