summaryrefslogtreecommitdiff
path: root/package/librpcsecgss/Makefile
blob: ef483bfa3fa7a99400b0664147d9e0f52b169786 (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 $(TOPDIR)/rules.mk

PKG_NAME:=		librpcsecgss
PKG_VERSION:=		0.19
PKG_RELEASE:=		3
PKG_MD5SUM:=		b45ed565bdc3099023aa35830ec92997
PKG_DESCR:=		Secure RPC library for NFSv4
PKG_SECTION:=		libs
PKG_DEPENDS:=		libgssglue libtirpc
PKG_BUILDDEP:=		libgssglue libtirpc autotool
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 $(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 ${TOPDIR}/mk/pkg-bottom.mk