blob: dc7482e289ee04325da0894bbf316c561d5269d4 (
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
34
|
# 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:= libnfsidmap
PKG_VERSION:= 0.24
PKG_RELEASE:= 1
PKG_MD5SUM:= d71a1ee9881d5b5814ff3ec41256937d
PKG_DESCR:= idmap library for NFSv4
PKG_SECTION:= libs
PKG_URL:= http://www.citi.umich.edu/projects/nfsv4/linux/
PKG_SITES:= http://www.citi.umich.edu/projects/nfsv4/linux/libnfsidmap/
PKG_SUBPKGS:= LIBNFSIDMAP LIBNFSIDMAP_DEV
PKGSC_LIBNFSIDMAP_DEV:= devel
PKGSD_LIBNFSIDMAP_DEV:= headers for NFSv4 idmap library
include $(TOPDIR)/mk/package.mk
$(eval $(call PKG_template,LIBNFSIDMAP,${PKG_NAME},$(PKG_VERSION)-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
$(eval $(call PKG_template,LIBNFSIDMAP_DEV,libnfsidmap-dev,$(PKG_VERSION)-${PKG_RELEASE},${PKG_DEPENDS},${PKGSD_LIBNFSIDMAP_DEV},${PKGSC_LIBNFSIDMAP_DEV}))
libnfsidmap-install:
$(INSTALL_DIR) $(IDIR_LIBNFSIDMAP)/usr/lib
$(CP) $(WRKINST)/usr/lib/libnfsidmap.so* \
$(IDIR_LIBNFSIDMAP)/usr/lib/
libnfsidmap-dev-install:
$(INSTALL_DIR) $(IDIR_LIBNFSIDMAP_DEV)/usr/include
$(INSTALL_DATA) ${WRKINST}/usr/include/nfsidmap.h \
$(IDIR_LIBNFSIDMAP_DEV)/usr/include
include ${TOPDIR}/mk/pkg-bottom.mk
|