flex: fix bootstrap on NetBSD from upstream
[openadk.git] / package / librpcsecgss / Makefile
blob75d192d67a5ba6ab5e2c69a96e4e46760e64185c
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:= librpcsecgss
7 PKG_VERSION:= 0.19
8 PKG_RELEASE:= 3
9 PKG_HASH:= 0cafb86b67e5eb4c89e8abaaad9165298946bc164d258e8925fc6dc1fa913abd
10 PKG_DESCR:= secure rpc library for nfsv4
11 PKG_SECTION:= libs/net
12 PKG_DEPENDS:= libgssglue libtirpc
13 PKG_BUILDDEP:= libgssglue libtirpc
14 PKG_SITES:= http://www.citi.umich.edu/projects/nfsv4/linux/librpcsecgss/
15 PKG_OPTS:= dev
17 DISTFILES:= ${PKG_NAME}-${PKG_VERSION}.tar.gz
19 PKG_LIBC_DEPENDS:= uclibc-ng glibc
21 include $(ADK_TOPDIR)/mk/package.mk
23 $(eval $(call PKG_template,LIBRPCSECGSS,librpcsecgss,$(PKG_VERSION)-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION},${PKG_OPTS}))
25 AUTOTOOL_STYLE:= autoreconf
26 TARGET_CPPFLAGS+= -I$(STAGING_TARGET_DIR)/usr/include/tirpc
27 TARGET_LDFLAGS+= -ltirpc
29 librpcsecgss-install:
30 $(INSTALL_DIR) $(IDIR_LIBRPCSECGSS)/usr/lib
31 $(CP) $(WRKINST)/usr/lib/librpcsecgss.so* $(IDIR_LIBRPCSECGSS)/usr/lib/
33 include ${ADK_TOPDIR}/mk/pkg-bottom.mk