opt/whois/Pkgfile

19 lines
609 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
name=whois
2020-10-04 11:07:52 +02:00
version=5.5.7
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() {
2019-08-19 15:51:09 +02:00
cd $name
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
2015-12-08 12:24:22 +01:00
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
2013-04-19 17:16:21 +02:00
install -D -m 0644 whois.conf $PKG/etc/whois.conf
2006-02-23 16:26:10 +01:00
}