Andrew Geissler | a2681d9 | 2020-10-16 10:17:07 -0500 | [diff] [blame] | 1 | # Copyright (C) 2020 Armin Kuster <akuster808@gmail.com> |
| 2 | # Released under the MIT license (see COPYING.MIT for the terms) |
| 3 | |
| 4 | DESCRIPTION = "Musl-nscd is an implementation of the NSCD protocol, suitable for use with musl and with standard NSS modules" |
| 5 | HOMEPAGE = "https://github.com/pikhq/musl-nscd" |
| 6 | LICENSE = "MIT" |
Andrew Geissler | 615f2f1 | 2022-07-15 14:00:58 -0500 | [diff] [blame] | 7 | LIC_FILES_CHKSUM = "file://COPYRIGHT;md5=fff9baeb9a392879d7fb25ba3a2696e4" |
Andrew Geissler | a2681d9 | 2020-10-16 10:17:07 -0500 | [diff] [blame] | 8 | SECTION = "utils" |
| 9 | |
Andrew Geissler | 4b7c115 | 2020-11-30 19:55:29 -0600 | [diff] [blame] | 10 | DEPENDS += "flex-native bison-native flex bison" |
| 11 | |
Andrew Geissler | 615f2f1 | 2022-07-15 14:00:58 -0500 | [diff] [blame] | 12 | PV = "1.1.0" |
Andrew Geissler | a2681d9 | 2020-10-16 10:17:07 -0500 | [diff] [blame] | 13 | |
Andrew Geissler | 615f2f1 | 2022-07-15 14:00:58 -0500 | [diff] [blame] | 14 | SRCREV = "cddd6be6c629ca96f2d2e74ee52daf12bbef1f83" |
Andrew Geissler | 595f630 | 2022-01-24 19:11:47 +0000 | [diff] [blame] | 15 | SRC_URI = "git://github.com/pikhq/musl-nscd;branch=master;protocol=https \ |
Andrew Geissler | 32b1199 | 2021-03-31 13:37:05 -0500 | [diff] [blame] | 16 | file://0001-nsswitch.y-Replace-empty-bison-extension.patch \ |
Andrew Geissler | 4b7c115 | 2020-11-30 19:55:29 -0600 | [diff] [blame] | 17 | " |
Andrew Geissler | a2681d9 | 2020-10-16 10:17:07 -0500 | [diff] [blame] | 18 | |
| 19 | UPSTREAM_CHECK_COMMITS = "1" |
| 20 | |
| 21 | inherit autotools-brokensep |
| 22 | |
| 23 | S = "${WORKDIR}/git" |
| 24 | |
| 25 | do_configure () { |
| 26 | # no debug set -s flag |
| 27 | sed -i -e 's/LDFLAGS_AUTO=-s/LDFLAGS_AUTO=/' ${S}/configure |
| 28 | ${S}/configure ${CONFIGUREOPTS} ${EXTRA_OECONF} |
| 29 | } |
| 30 | |
| 31 | do_compile () { |
| 32 | oe_runmake |
| 33 | } |
| 34 | |
| 35 | do_install () { |
| 36 | make DESTDIR=${D} install |
| 37 | } |
| 38 | |
| 39 | COMPATIBLE_HOST = ".*-musl.*" |