summaryrefslogtreecommitdiff
path: root/package/librpcsecgss/Makefile
blob: 7a1b5116d4e1457e4002c28d0bd1cd22e0e54176 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
# This file is part of the OpenADK project. OpenADK is copyrighted
# material, please see the LICENCE file in the top-level directory.

include $(ADK_TOPDIR)/rules.mk

PKG_NAME:=		librpcsecgss
PKG_VERSION:=		0.19
PKG_RELEASE:=		3
PKG_HASH:=		0cafb86b67e5eb4c89e8abaaad9165298946bc164d258e8925fc6dc1fa913abd
PKG_DESCR:=		secure rpc library for nfsv4
PKG_SECTION:=		libs/net
PKG_DEPENDS:=		libgssglue libtirpc
PKG_BUILDDEP:=		libgssglue libtirpc
PKG_SITES:=		http://www.citi.umich.edu/projects/nfsv4/linux/librpcsecgss/
PKG_OPTS:=		dev

DISTFILES:=		${PKG_NAME}-${PKG_VERSION}.tar.gz

PKG_LIBC_DEPENDS:=	uclibc glibc

include $(ADK_TOPDIR)/mk/package.mk

$(eval $(call PKG_template,LIBRPCSECGSS,librpcsecgss,$(PKG_VERSION)-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION},${PKG_OPTS}))

AUTOTOOL_STYLE:=	autoreconf
TARGET_CPPFLAGS+=	-I$(STAGING_TARGET_DIR)/usr/include/tirpc
TARGET_LDFLAGS+=	-ltirpc

librpcsecgss-install:
	$(INSTALL_DIR) $(IDIR_LIBRPCSECGSS)/usr/lib
	$(CP) $(WRKINST)/usr/lib/librpcsecgss.so* $(IDIR_LIBRPCSECGSS)/usr/lib/

include ${ADK_TOPDIR}/mk/pkg-bottom.mk