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