summaryrefslogtreecommitdiff
path: root/recipes/unrar/unrar_3.9.9.bb
blob: 21e1f23d53d484982c20caca510d8a2bb21e2454 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
DESCRIPTION = "RAR archivers"
HOMEPAGE = "http://www.rarlab.com/"
PR = "r0"

SRC_URI = "http://www.rarlab.com/rar/unrarsrc-${PV}.tar.gz;name=unrar \
		file://makefile.unix.patch;patch=1"
SRC_URI[unrar.md5sum] = "4271fc8710d299341c969666492b305c"
SRC_URI[unrar.sha256sum] = "460d4c014f5aaaa9b1c810dca180f07e155678b322169e20f4e51c616fa0e7ff"

S = "${WORKDIR}/unrar"

BBCLASSEXTEND = "native"
NATIVE_INSTALL_WORKS = "1"

EXTRA_OEMAKE = "-f makefile.unix DESTDIR=${D}${exec_prefix}"

do_compile() {
    oe_runmake
}

do_install() {
    oe_runmake install 
}