aboutsummaryrefslogtreecommitdiffstats
path: root/meta-oe/recipes-devtools/musl/musl-nscd_git.bb
blob: 374f944096f20152eee534f7dd02d67427bb11cb (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
30
31
32
33
34
35
36
37
# Copyright (C) 2020 Armin Kuster <akuster808@gmail.com>
# Released under the MIT license (see COPYING.MIT for the terms)

DESCRIPTION = "Musl-nscd is an implementation of the NSCD protocol, suitable for use with musl and with standard NSS modules"
HOMEPAGE = "https://github.com/pikhq/musl-nscd"
LICENSE = "MIT"
LIC_FILES_CHKSUM = "file://COPYRIGHT;md5=9bf479a145bcaff8489e743da58afeee"
SECTION = "utils"

PV = "1.0.2"

CFLAGS += "-fcommon"

SRCREV = "8f278675e1b6a3a02c8ee1b8ca000f80570dc5d6"
SRC_URI = "git://github.com/pikhq/musl-nscd"

UPSTREAM_CHECK_COMMITS = "1"

inherit autotools-brokensep

S = "${WORKDIR}/git"

do_configure () {
    # no debug set -s flag
    sed -i -e 's/LDFLAGS_AUTO=-s/LDFLAGS_AUTO=/' ${S}/configure
    ${S}/configure ${CONFIGUREOPTS} ${EXTRA_OECONF}
}

do_compile () {
    oe_runmake
}

do_install () {
    make DESTDIR=${D} install
}

COMPATIBLE_HOST = ".*-musl.*"