2 # Copyright (C) 2007-2010 OpenWrt.org
4 # This is free software, licensed under the GNU General Public License v2.
5 # See /LICENSE for more information.
8 include $(TOPDIR
)/rules.mk
14 PKG_SOURCE
:=$(PKG_NAME
)-$(PKG_VERSION
).
tar.gz
15 PKG_SOURCE_URL
:=http
://www.citi.umich.edu
/projects
/nfsv4
/linux
/libgssapi
/
16 PKG_MD5SUM
:=0e5b4c7267724f8ddf64bc35514c272e
22 include $(INCLUDE_DIR
)/package.mk
24 define Package
/libgssapi
27 TITLE
:=required libraries for the nfs-utils
28 URL
:=http
://www.citi.umich.edu
/projects
/nfsv4
/linux
31 define Package
/libgssapi
/description
32 Support libraries
- for newer nfs mount command
(nfs4
)
35 TARGET_CFLAGS
+= -I
$(PKG_BUILD_DIR
)/lib
$(FPIC
)
38 OPT
="$(TARGET_CFLAGS)" \
39 INSTALLSUID
="install -m 4755" \
40 DESTDIR
="$(PKG_INSTALL_DIR)"
42 define Build
/InstallDev
43 $(INSTALL_DIR
) $(1)/usr
/include/gssglue
/gssapi
44 $(CP
) $(PKG_INSTALL_DIR
)/usr
/include/gssglue
/gssapi
/gssapi.h
$(1)/usr
/include/gssglue
/gssapi
45 $(INSTALL_DIR
) $(1)/usr
/lib
46 $(CP
) $(PKG_INSTALL_DIR
)/usr
/lib
/libgssapi.
{a
,so
*} $(1)/usr
/lib
47 $(INSTALL_DIR
) $(1)/usr
/lib
/pkgconfig
48 $(CP
) $(PKG_INSTALL_DIR
)/usr
/lib
/pkgconfig
/libgssapi.
pc $(1)/usr
/lib
/pkgconfig
51 $(eval
$(call BuildPackage
,libgssapi
))