Brad Bishop | 1a4b7ee | 2018-12-16 17:11:34 -0800 | [diff] [blame] | 1 | # Copyright (C) 2018 Khem Raj <raj.khem@gmail.com> |
| 2 | # Released under the MIT license (see COPYING.MIT for the terms) |
| 3 | |
| 4 | SUMMARY = "rpcsvc protocol definitions from glibc" |
| 5 | |
| 6 | DESCRIPTION = "This package contains rpcsvc proto.x files from glibc, which are\ |
| 7 | missing in libtirpc. Additional it contains rpcgen, which is needed\ |
| 8 | to create header files and sources from protocol files.\ |
| 9 | This package is only needed, if glibc is installed without the\ |
| 10 | deprecated sunrpc functionality and libtirpc should replace it." |
| 11 | |
| 12 | HOMEPAGE = "https://github.com/thkukuk/rpcsvc-proto" |
| 13 | LICENSE = "BSD-3-Clause" |
| 14 | LIC_FILES_CHKSUM = "file://COPYING;md5=0daaf958d5531ab86169ec6e275e1517" |
| 15 | SECTION = "libs" |
| 16 | DEPENDS += "rpcsvc-proto-native" |
| 17 | |
| 18 | PV = "1.4+git${SRCPV}" |
| 19 | |
| 20 | SRCREV = "9bc3b5b785723cfff459b0c01b39d87d4bed975c" |
| 21 | |
| 22 | SRC_URI = "git://github.com/thkukuk/${BPN} \ |
| 23 | file://0001-Use-cross-compiled-rpcgen.patch \ |
| 24 | " |
| 25 | |
| 26 | S = "${WORKDIR}/git" |
| 27 | |
| 28 | inherit autotools |
| 29 | |
| 30 | EXTRA_OEMAKE_class-native = " -C rpcgen" |
| 31 | |
| 32 | do_install_append() { |
| 33 | # They come from quota recipe |
| 34 | rm -rf ${D}${includedir}/rpcsvc/rquota.[hx] |
| 35 | } |
| 36 | |
| 37 | BBCLASSEXTEND += "native nativesdk" |