summaryrefslogtreecommitdiffstats
path: root/recipes-ids/crowdsec/crowdsec_1.1.1.bb
diff options
context:
space:
mode:
Diffstat (limited to 'recipes-ids/crowdsec/crowdsec_1.1.1.bb')
-rw-r--r--recipes-ids/crowdsec/crowdsec_1.1.1.bb40
1 files changed, 0 insertions, 40 deletions
diff --git a/recipes-ids/crowdsec/crowdsec_1.1.1.bb b/recipes-ids/crowdsec/crowdsec_1.1.1.bb
deleted file mode 100644
index fa13e9d..0000000
--- a/recipes-ids/crowdsec/crowdsec_1.1.1.bb
+++ /dev/null
@@ -1,40 +0,0 @@
1SUMMARY = "CrowdSec is a free, modern & collaborative behavior detection engine, coupled with a global IP reputation network."
2
3LICENSE = "MIT"
4LIC_FILES_CHKSUM = "file://src/import/LICENSE;md5=105e75b680b2ab82fa5718661b41f3bf"
5
6SRC_URI = "git://github.com/crowdsecurity/crowdsec.git;branch=master;protocol=https"
7SRCREV = "73e0bbaf93070f4a640eb5a22212b5dcf26699de"
8
9DEPENDS = "jq-native"
10
11GO_IMPORT = "import"
12
13inherit go
14
15do_compile() {
16 export GOARCH="${TARGET_GOARCH}"
17 export GOROOT="${STAGING_LIBDIR_NATIVE}/${TARGET_SYS}/go"
18
19 # Pass the needed cflags/ldflags so that cgo
20 # can find the needed headers files and libraries
21 export CGO_ENABLED="1"
22 export CFLAGS=""
23 export LDFLAGS=""
24 export CGO_CFLAGS="${BUILDSDK_CFLAGS} --sysroot=${STAGING_DIR_TARGET}"
25 export CGO_LDFLAGS="${BUILDSDK_LDFLAGS} --sysroot=${STAGING_DIR_TARGET}"
26
27 cd ${S}/src/import
28 oe_runmake release
29}
30
31do_install_ () {
32 chmod +x -R --silent ${B}/pkg
33}
34
35
36INSANE_SKIP:${PN} = "already-stripped"
37INSANE_SKIP:${PN}-dev = "ldflags"
38
39RDEPENDS:${PN} = "go"
40RDEPENDS:${PN}-dev = "bash"