blob: c6ba80c94311cbdb7f77e6aec8c10c712033b578 (
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
|
# Copyright (C) 2017 Khem Raj <raj.khem@gmail.com>
# Released under the MIT license (see COPYING.MIT for the terms)
SUMMARY = "Library containing NIS functions using TI-RPC (IPv6 enabled)"
DESCRIPTION = "This library contains the public client interface for NIS(YP) and NIS+\
it was part of glibc and now is standalone packages. it also supports IPv6"
HOMEPAGE = "https://github.com/thkukuk/libnsl"
LICENSE = "LGPL-2.1"
LIC_FILES_CHKSUM = "file://COPYING;md5=4fbd65380cdd255951079008b364516c"
SECTION = "libs"
DEPENDS = "libtirpc"
PV = "1.2.0+git${SRCPV}"
SRCREV = "37c5ffe3038d42e9fa9ed232ad2cbca4d8f14681"
SRC_URI = "git://github.com/thkukuk/libnsl \
"
S = "${WORKDIR}/git"
inherit autotools pkgconfig gettext
EXTRA_OECONF += "--libdir=${libdir}/nsl --includedir=${includedir}/nsl"
do_install_append() {
install -d ${D}${libdir}
mv ${D}${libdir}/nsl/pkgconfig ${D}${libdir}
}
FILES_${PN} += "${libdir}/nsl/*.so.*"
FILES_${PN}-dev += "${includedir}/nsl ${libdir}/nsl/*.so"
FILES_${PN}-staticdev += "${libdir}/nsl/*.a"
|