diff options
Diffstat (limited to 'meta')
-rw-r--r-- | meta/packages/unzip/unzip-native_552.bb | 8 | ||||
-rw-r--r-- | meta/packages/unzip/unzip_552.bb | 21 |
2 files changed, 29 insertions, 0 deletions
diff --git a/meta/packages/unzip/unzip-native_552.bb b/meta/packages/unzip/unzip-native_552.bb new file mode 100644 index 0000000000..1d4b18cf42 --- /dev/null +++ b/meta/packages/unzip/unzip-native_552.bb | |||
@@ -0,0 +1,8 @@ | |||
1 | SECTION = "console/utils" | ||
2 | inherit native | ||
3 | require unzip_${PV}.bb | ||
4 | |||
5 | do_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 new file mode 100644 index 0000000000..2f06e1b1c6 --- /dev/null +++ b/meta/packages/unzip/unzip_552.bb | |||
@@ -0,0 +1,21 @@ | |||
1 | DESCRIPTION = "A (de)compression library for the ZIP format" | ||
2 | SECTION = "console/utils" | ||
3 | LICENSE = "Info-ZIP" | ||
4 | PR = "r1" | ||
5 | |||
6 | SRC_URI = "http://ftp.info-zip.org/pub/infozip/src/unzip${PV}.tar.gz" | ||
7 | S = "${WORKDIR}/unzip-5.52" | ||
8 | |||
9 | export LD = "${CC}" | ||
10 | |||
11 | do_compile() { | ||
12 | oe_runmake -f unix/Makefile generic | ||
13 | } | ||
14 | |||
15 | do_install() { | ||
16 | oe_runmake -f unix/Makefile install prefix=${D}${prefix} | ||
17 | install -d ${D}${mandir} | ||
18 | mv ${D}${prefix}/man/* ${D}${mandir} | ||
19 | } | ||
20 | |||
21 | |||