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 | |
Andrew Geissler | 595f630 | 2022-01-24 19:11:47 +0000 | [diff] [blame] | 18 | PV = "1.4.3" |
Brad Bishop | 1a4b7ee | 2018-12-16 17:11:34 -0800 | [diff] [blame] | 19 | |
Andrew Geissler | 595f630 | 2022-01-24 19:11:47 +0000 | [diff] [blame] | 20 | SRCREV = "71e0a12c04d130a78674ac6309eefffa6ecee612" |
Brad Bishop | 1a4b7ee | 2018-12-16 17:11:34 -0800 | [diff] [blame] | 21 | |
Andrew Geissler | 595f630 | 2022-01-24 19:11:47 +0000 | [diff] [blame] | 22 | SRC_URI = "git://github.com/thkukuk/${BPN};branch=master;protocol=https \ |
Brad Bishop | 1a4b7ee | 2018-12-16 17:11:34 -0800 | [diff] [blame] | 23 | file://0001-Use-cross-compiled-rpcgen.patch \ |
Andrew Geissler | 517393d | 2023-01-13 08:55:19 -0600 | [diff] [blame] | 24 | file://0001-Use-AC_SYS_LARGEFILE-macro-to-control-largefile-supp.patch \ |
| 25 | " |
Brad Bishop | 1a4b7ee | 2018-12-16 17:11:34 -0800 | [diff] [blame] | 26 | |
| 27 | S = "${WORKDIR}/git" |
| 28 | |
Andrew Geissler | c182c62 | 2020-05-15 14:13:32 -0500 | [diff] [blame] | 29 | inherit autotools gettext |
Brad Bishop | 1a4b7ee | 2018-12-16 17:11:34 -0800 | [diff] [blame] | 30 | |
Patrick Williams | 213cb26 | 2021-08-07 19:21:33 -0500 | [diff] [blame] | 31 | EXTRA_OEMAKE:class-native = " -C rpcgen" |
Brad Bishop | 1a4b7ee | 2018-12-16 17:11:34 -0800 | [diff] [blame] | 32 | |
Patrick Williams | 213cb26 | 2021-08-07 19:21:33 -0500 | [diff] [blame] | 33 | do_configure:prepend() { |
Andrew Geissler | c182c62 | 2020-05-15 14:13:32 -0500 | [diff] [blame] | 34 | touch ${S}/ABOUT-NLS |
| 35 | } |
| 36 | |
Patrick Williams | 213cb26 | 2021-08-07 19:21:33 -0500 | [diff] [blame] | 37 | do_install:append() { |
Brad Bishop | 1a4b7ee | 2018-12-16 17:11:34 -0800 | [diff] [blame] | 38 | # They come from quota recipe |
| 39 | rm -rf ${D}${includedir}/rpcsvc/rquota.[hx] |
| 40 | } |
| 41 | |
| 42 | BBCLASSEXTEND += "native nativesdk" |