summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRichard Purdie <rpurdie@linux.intel.com>2009-11-04 15:52:03 +0000
committerRichard Purdie <rpurdie@linux.intel.com>2009-11-13 12:15:23 +0000
commit91a071b469e5e2bfad1eee6e5e648b4c7ae101f6 (patch)
tree7ee42f301590d5462397758ca86cb1346b9e34df
parentbb4dfbf39bb18294f21d31d92663b0c6d9db1c0a (diff)
downloadpoky-91a071b469e5e2bfad1eee6e5e648b4c7ae101f6.tar.gz
unzip: Convert to use BBCLASSEXTEND
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
-rw-r--r--meta/packages/unzip/unzip-native_552.bb8
-rw-r--r--meta/packages/unzip/unzip_552.bb4
2 files changed, 3 insertions, 9 deletions
diff --git a/meta/packages/unzip/unzip-native_552.bb b/meta/packages/unzip/unzip-native_552.bb
deleted file mode 100644
index 1d4b18cf42..0000000000
--- a/meta/packages/unzip/unzip-native_552.bb
+++ /dev/null
@@ -1,8 +0,0 @@
1SECTION = "console/utils"
2inherit native
3require unzip_${PV}.bb
4
5do_stage() {
6 install -d ${STAGING_BINDIR}
7 install unzip ${STAGING_BINDIR}
8}
diff --git a/meta/packages/unzip/unzip_552.bb b/meta/packages/unzip/unzip_552.bb
index 2f06e1b1c6..84e4fd4a73 100644
--- a/meta/packages/unzip/unzip_552.bb
+++ b/meta/packages/unzip/unzip_552.bb
@@ -7,6 +7,7 @@ SRC_URI = "http://ftp.info-zip.org/pub/infozip/src/unzip${PV}.tar.gz"
7S = "${WORKDIR}/unzip-5.52" 7S = "${WORKDIR}/unzip-5.52"
8 8
9export LD = "${CC}" 9export LD = "${CC}"
10LD_virtclass-native = "${CC}"
10 11
11do_compile() { 12do_compile() {
12 oe_runmake -f unix/Makefile generic 13 oe_runmake -f unix/Makefile generic
@@ -18,4 +19,5 @@ do_install() {
18 mv ${D}${prefix}/man/* ${D}${mandir} 19 mv ${D}${prefix}/man/* ${D}${mandir}
19} 20}
20 21
21 22BBCLASSEXTEND = "native"
23NATIVE_INSTALL_WORKS = "1"