1 DESCRIPTION = "whois is an improved whois client"
3 HOMEPAGE = "http://www.linux.it/~md/software/"
8 SRC_URI = "${DEBIAN_MIRROR}/main/w/whois/whois_${PV}.tar.gz;name=whois"
10 S = "${WORKDIR}/whois-${PV}"
14 def whois_intl(bb, d):
15 # FIXME: This is ugly.. we already have the virtual for this,
16 # but there's no way to ask bb who the current selected provider of
17 # a given virtual/ is.
18 if (bb.data.getVar('TARGET_OS', d, 1) or '').endswith('-uclibc'):
22 EXTRA_OEMAKE = '"OPTS=${CFLAGS} -DCONFIG_FILE=\\\"/etc/whois.conf\\\"" \
23 "CC=${CC}" "LDFLAGS=${LDFLAGS}${@whois_intl(bb, d)}"'
26 install -D -m 0755 whois ${D}${bindir}/whois
27 install -D -m 0644 whois.1 ${D}${mandir}/man1/whois.1