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
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
/}
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}))
29 HOST_CPPFLAGS
+= -I
/usr
/include/tirpc
31 ifeq (${ADK_PACKAGE_LIBTIRPC_WITH_GSS},y
)
32 CONFIGURE_ARGS
+= --enable-gssapi
34 CONFIGURE_ARGS
+= --disable-gssapi
37 ifeq (${ADK_PACKAGE_LIBTIRPC_WITH_IPV6},y
)
38 CONFIGURE_ARGS
+= --enable-ipv6
41 CONFIGURE_ARGS
+= --disable-ipv6
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