summaryrefslogtreecommitdiff
path: root/package/libgssglue/Makefile
blob: 90a2d24212c93e2294e2aa31b6bbedd1ab62404a (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:=		libgssglue
PKG_VERSION:=		0.3
PKG_RELEASE:=		1
PKG_MD5SUM:=		48aaad11b7371ba3270faa322202c038
PKG_DESCR:=		GSS glue library for NFSv4
PKG_SECTION:=		libs
PKG_SITES:=		http://www.citi.umich.edu/projects/nfsv4/linux/libgssglue/

PKG_SUBPKGS:=		LIBGSSGLUE LIBGSSGLUE_DEV
PKGSD_LIBGSSGLUE_DEV:=	GSS glue headers for NFSv4
PKGSC_LIBGSSGLUE_DEV:=	devel

include $(TOPDIR)/mk/package.mk

$(eval $(call PKG_template,LIBGSSGLUE,libgssglue,${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
$(eval $(call PKG_template,LIBGSSGLUE_DEV,libgssglue-dev,${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKGSD_LIBGSSGLUE_DEV},${PKGSC_LIBGSSGLUE_DEV}))

libgssglue-install:
	$(INSTALL_DIR) $(IDIR_LIBGSSGLUE)/usr/lib
	$(CP) $(WRKINST)/usr/lib/libgssglue.so* $(IDIR_LIBGSSGLUE)/usr/lib

libgssglue-dev-install:
	$(INSTALL_DIR) $(IDIR_LIBGSSGLUE_DEV)/usr/include
	${CP} $(WRKINST)/usr/include/* $(IDIR_LIBGSSGLUE_DEV)/usr/include
	$(INSTALL_DIR) $(IDIR_LIBGSSGLUE_DEV)/usr/lib/pkgconfig
	${INSTALL_DATA} $(WRKINST)/usr/lib/pkgconfig/libgssglue.pc \
		$(IDIR_LIBGSSGLUE_DEV)/usr/lib/pkgconfig

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