which: add recipe, versions 2.17 and 2.20
authorChris Larson <chris_larson@mentor.com>
Wed, 27 Oct 2010 20:52:05 +0000 (13:52 -0700)
committerChris Larson <chris_larson@mentor.com>
Wed, 27 Oct 2010 20:52:05 +0000 (13:52 -0700)
2.17 is the most recent version which was still GPLv2+, and 2.20 is the latest
which is now GPLv3+.

Signed-off-by: Chris Larson <chris_larson@mentor.com>
MAINTAINERS
recipes/which/which.inc [new file with mode: 0644]
recipes/which/which_2.17.bb [new file with mode: 0644]
recipes/which/which_2.20.bb [new file with mode: 0644]

index e7ec4ee..0fd01c1 100644 (file)
@@ -37,7 +37,8 @@ Machines:   simpad
 Person:     Christopher Larson
 Mail:       clarson@kergoth.com
 Recipes:    autoconf, automake, libtool, gnu-config
-Recipes:    autotools*.bbclass, gzip, lzip, ed, genromfs
+Recipes:    gzip, lzip, ed, genromfs, which
+Classes:    autotools.bbclass
 
 Person:     Cliff Brake
 Mail:       cbrake@bec-systems.com
diff --git a/recipes/which/which.inc b/recipes/which/which.inc
new file mode 100644 (file)
index 0000000..ad7eed7
--- /dev/null
@@ -0,0 +1,15 @@
+inherit autotools
+
+DESCRIPTION = "shows the full path of (shell) commands"
+HOMEPAGE = "http://www.xs4all.nl/~carlo17/which/"
+INC_PR = "0"
+
+SRC_URI = "http://www.xs4all.nl/~carlo17/which/which-${PV}.tar.gz"
+
+EXTRA_OECONF += "--disable-iberty"
+
+do_configure () {
+    oe_runconf
+}
+
+BBCLASSEXTEND += "native nativesdk"
diff --git a/recipes/which/which_2.17.bb b/recipes/which/which_2.17.bb
new file mode 100644 (file)
index 0000000..6c47601
--- /dev/null
@@ -0,0 +1,7 @@
+require which.inc
+
+LICENSE = "GPLv2+"
+PR = "${INC_PR}.0"
+
+SRC_URI[md5sum] = "c9d33b7c8ce5acc69105e13d56ef0dad"
+SRC_URI[sha256sum] = "176fe9c451487eda787dd58d9469d48c95509f49dbb34a574004a936905dd6da"
diff --git a/recipes/which/which_2.20.bb b/recipes/which/which_2.20.bb
new file mode 100644 (file)
index 0000000..8dc42d7
--- /dev/null
@@ -0,0 +1,7 @@
+require which.inc
+
+LICENSE = "GPLv3+"
+PR = "${INC_PR}.0"
+
+SRC_URI[md5sum] = "95be0501a466e515422cde4af46b2744"
+SRC_URI[sha256sum] = "d417b65c650d88ad26a208293c1c6e3eb60d4b6d847f01ff8f66aca63e2857f8"