summaryrefslogtreecommitdiff
path: root/meta/packages/unzip/unzip_6.0.bb
blob: 7b0f9dc721cf1d0badb9d5d509131cbbc6cc9eff (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
DESCRIPTION = "A (de)compression library for the ZIP format"
HOMEPAGE = "http://www.info-zip.org"
SECTION = "console/utils"
LICENSE = "Info-ZIP"
LIC_FILES_CHKSUM = "file://LICENSE;md5=94caec5a51ef55ef711ee4e8b1c69e29"
PE = "1"
PR = "r0"

SRC_URI = "ftp://ftp.info-zip.org/pub/infozip/src/unzip60.tgz"
S = "${WORKDIR}/unzip60"

export LD = "${CC}"
LD_virtclass-native = "${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}
}

BBCLASSEXTEND = "native"
NATIVE_INSTALL_WORKS = "1"