* Move to using INC_PR
* Add md5 and sha checksums to recipe.
* Move more common parts like SRC_URI to whois.inc.
* Thanks Paul Menzel for reporting the pending upgrade.
Signed-off-by: Khem Raj <raj.khem@gmail.com>
HOMEPAGE = "http://www.linux.it/~md/software/"
SECTION = "network"
+INC_PR = "r1"
+
+SRC_URI = "${DEBIAN_MIRROR}/main/w/whois/whois_${PV}.tar.gz;name=whois"
+
+S = "${WORKDIR}/whois-${PV}"
+
+inherit gettext
+
def whois_intl(bb, d):
# FIXME: This is ugly.. we already have the virtual for this,
# but there's no way to ask bb who the current selected provider of
+PR = "${INC_PR}.0"
require whois.inc
-
-SRC_URI = "${DEBIAN_MIRROR}/main/w/whois/whois_${PV}.tar.gz"
-S = "${WORKDIR}/whois-${PV}"
-
-inherit gettext
--- /dev/null
+require whois.inc
+PR = "${INC_PR}.0"
+
+SRC_URI[whois.md5sum] = "18d74a07d711262b75f04a1c319bc833"
+SRC_URI[whois.sha256sum] = "fb13316c09ff9f98bd9af659d0789c9a09b97757f5c6c3dbfbc790250d5c5abc"
+