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
2021-09-02 12:40:39 +02:00
# URL: https://github.com/rfc1036/whois
2021-02-16 14:12:13 +01:00
# Maintainer: Juergen Daubert, jue at crux dot nu
2006-02-23 16:26:10 +01:00
name=whois
2023-07-23 10:21:39 +02:00
version=5.5.18
2006-02-23 16:26:10 +01:00
release=1
2021-09-02 12:40:39 +02:00
source=(https://ftp.debian.org/debian/pool/main/w/$name/$name\_$version.tar.xz)
2006-02-23 16:26:10 +01:00
build() {
2023-03-02 10:15:32 +01:00
cd $name-$version
2021-02-16 14:12:13 +01:00
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
}