python3: update to 3.11.10
[openadk.git] / package / libtirpc / Makefile
blob9e5997350ce9b53bdac9e33a8a916f27a2c0c8f3
1 # This file is part of the OpenADK project. OpenADK is copyrighted
2 # material, please see the LICENCE file in the top-level directory.
4 include ${ADK_TOPDIR}/rules.mk
6 PKG_NAME:= libtirpc
7 PKG_VERSION:= 1.3.5
8 PKG_RELEASE:= 1
9 PKG_HASH:= 9b31370e5a38d3391bf37edfa22498e28fe2142467ae6be7a17c9068ec0bf12f
10 PKG_DESCR:= transport independent rpc library
11 PKG_SECTION:= libs/net
12 PKG_URL:= http://sourceforge.net/projects/libtirpc/
13 PKG_SITES:= ${MASTER_SITE_SOURCEFORGE:=libtirpc/}
14 PKG_OPTS:= dev
16 PKG_FLAVOURS_LIBTIRPC:= WITH_IPV6 WITH_GSS
17 PKGFD_WITH_IPV6:= enable ipv6 support
18 PKGFD_WITH_GSS:= enable gss support
19 PKGFB_WITH_GSS:= libgssglue krb5
20 PKGFS_WITH_GSS:= libgssglue
22 DISTFILES:= $(PKG_NAME)-$(PKG_VERSION).tar.bz2
24 include ${ADK_TOPDIR}/mk/package.mk
26 $(eval $(call PKG_template,LIBTIRPC,libtirpc,${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION},${PKG_OPTS}))
28 MAKE_ENV+= V=1
29 HOST_CPPFLAGS+= -I/usr/include/tirpc
31 ifeq (${ADK_PACKAGE_LIBTIRPC_WITH_GSS},y)
32 CONFIGURE_ARGS+= --enable-gssapi
33 else
34 CONFIGURE_ARGS+= --disable-gssapi
35 endif
37 ifeq (${ADK_PACKAGE_LIBTIRPC_WITH_IPV6},y)
38 CONFIGURE_ARGS+= --enable-ipv6
39 CFG:= .ipv6
40 else
41 CONFIGURE_ARGS+= --disable-ipv6
42 endif
44 libtirpc-install:
45 ${INSTALL_DIR} ${IDIR_LIBTIRPC}/usr/lib ${IDIR_LIBTIRPC}/etc
46 ${CP} ${WRKINST}/usr/lib/libtirpc*.so* ${IDIR_LIBTIRPC}/usr/lib/
47 ${CP} ./files/netconfig$(CFG) ${IDIR_LIBTIRPC}/etc/netconfig
49 include ${ADK_TOPDIR}/mk/pkg-bottom.mk