blob: f590a787af6bd2981fe7d5f7aaffd73488fe2dce (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
|
# Contributor: Stuart Cardall <developer@it-offshore.co.uk>
# Maintainer: Stuart Cardall <developer@it-offshore.co.uk>
pkgname=whois
pkgver=5.2.11
pkgrel=0
pkgdesc="Intelligent WHOIS client by Marco d'Itri"
url="http://www.linux.it/~md/software/"
arch="all"
license="GPL2"
makedepends="$depends_dev perl libidn-dev gettext-dev"
subpackages="$pkgname-doc"
source="$pkgname-$pkgver.tar.gz::https://github.com/rfc1036/$pkgname/archive/v$pkgver.tar.gz"
_builddir="$srcdir"/$pkgname-$pkgver
build() {
cd "$_builddir"
make CONFIG_FILE="/etc/whois.conf" \
HAVE_LIBIDN=1 HAVE_ICONV=1 \
CFLAGS="$CFLAGS -lintl $CXXFLAGS" || return 1
}
package() {
cd "$_builddir"
make BASEDIR="$pkgdir" install-whois || return 1
install -D -m644 whois.conf "$pkgdir/etc/whois.conf"
}
md5sums="ccdffa60f5d289b1b64d45ef423102ed whois-5.2.11.tar.gz"
sha256sums="baaa9622ce92533af89005776acc6e007be9c9e8d088e34567ce4f955ab65ddf whois-5.2.11.tar.gz"
sha512sums="290cfa93f8b0d95563c6e1e27c96e8dc239ecd497ceec682d0911512794d810de9cb8fae11477a53c35e25eef4f2797eb4dac338940bb8d767bed89a3f474336 whois-5.2.11.tar.gz"
|