1 include $(TOPDIR
)/rules.mk
7 PKG_SOURCE
:=$(PKG_NAME
)-$(PKG_VERSION
).
tar.xz
8 PKG_SOURCE_URL
:=https
://github.com
/thkukuk
/rpcsvc-proto
/releases
/download
/v
$(PKG_VERSION
)
9 PKG_HASH
:=69315e94430f4e79c74d43422f4a36e6259e97e67e2677b2c7d7060436bd99b1
11 PKG_LICENSE
:=BSD-3-clause
12 PKG_LICENSE_FILES
:=COPYING
18 HOST_BUILD_DEPENDS
:=gettext-full
/host
19 PKG_BUILD_DEPENDS
:=rpcsvc-proto
/host
21 include $(INCLUDE_DIR
)/package.mk
22 include $(INCLUDE_DIR
)/nls.mk
23 include $(INCLUDE_DIR
)/host-build.mk
25 define Package
/rpcsvc-proto
28 TITLE
:=rpcgen and rpcsvc proto.x files from glibc
29 URL
:=https
://github.com
/thkukuk
/rpcsvc-proto
30 DEPENDS
:=$(INTL_DEPENDS
)
34 define Package
/rpcsvc-proto
/description
35 This package contains rpcsvc proto.x files from glibc
, which are missing in libtirpc.
36 Additional it contains rpcgen
, which is needed to create header files and sources from protocol files.
39 # need to use host tool
41 $(Build
/Prepare
/Default
)
42 $(SED
) 's,.*/rpcgen/rpcgen,\t$(STAGING_DIR_HOSTPKG)/bin/rpcgen,' $(PKG_BUILD_DIR
)/rpcsvc
/Makefile.am
45 define Build
/InstallDev
46 $(INSTALL_DIR
) $(1)/usr
/include
47 $(CP
) $(PKG_INSTALL_DIR
)/usr
/include/rpcsvc
$(1)/usr
/include/
50 $(eval
$(call HostBuild
))
51 $(eval
$(call BuildPackage
,rpcsvc-proto
))