diff options
Diffstat (limited to 'meta/packages/unzip')
-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 000000000..1d4b18cf4 --- /dev/null +++ b/meta/packages/unzip/unzip-native_552.bb @@ -0,0 +1,8 @@ +SECTION = "console/utils" +inherit native +require unzip_${PV}.bb + +do_stage() { + install -d ${STAGING_BINDIR} + install unzip ${STAGING_BINDIR} +} diff --git a/meta/packages/unzip/unzip_552.bb b/meta/packages/unzip/unzip_552.bb new file mode 100644 index 000000000..2f06e1b1c --- /dev/null +++ b/meta/packages/unzip/unzip_552.bb @@ -0,0 +1,21 @@ +DESCRIPTION = "A (de)compression library for the ZIP format" +SECTION = "console/utils" +LICENSE = "Info-ZIP" +PR = "r1" + +SRC_URI = "http://ftp.info-zip.org/pub/infozip/src/unzip${PV}.tar.gz" +S = "${WORKDIR}/unzip-5.52" + +export LD = "${CC}" + +do_compile() { + oe_runmake -f unix/Makefile generic +} + +do_install() { + oe_runmake -f unix/Makefile install prefix=${D}${prefix} + install -d ${D}${mandir} + mv ${D}${prefix}/man/* ${D}${mandir} +} + + |