aboutsummaryrefslogtreecommitdiffstats
path: root/recipes-devtools/fossology/fossology-nomos-native_git.bb
blob: e034a341b837e02c49866157d93c93fb7f46e689 (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
27
28
29
DESCRIPTION = "SPDX 2.0 document creation and storage"
HOMEPAGE = "https://github.com/DoSOCSv2/DoSOCSv2"
SECTION = "devel/python"
LICENSE = "GPLv2"

LIC_FILES_CHKSUM = "file://GenCodeCopyright;md5=7296ec131dbd040718b64fb843d63048"
DEPENDS = "glib-2.0-native libpcre-native"

SRCREV = "34467fd530b832f08c095936a72c22c40fa13278"
BRANCH = "release/${PV}/master"
SRC_URI = "git://github.com/fossology/fossology.git \
           file://0001-Add-rpath-to-fix-error-as-following.patch \
          " 

S = "${WORKDIR}/git/src/nomos/agent"

inherit native

do_compile() {
	cp ${S}/Makefile.sa ${S}/Makefile -f
	make
}

do_install() {
        oe_runmake install \
                DESTDIR="${D}" \
                PREFIX="${prefix}" \
                SBINDIR="${D}${sbindir}"
}