fcgi: moved to github
[packages.git] / libs / libgssapi / Makefile
1 #
2 # Copyright (C) 2007-2010 OpenWrt.org
3 #
4 # This is free software, licensed under the GNU General Public License v2.
5 # See /LICENSE for more information.
6 #
7
8 include $(TOPDIR)/rules.mk
9
10 PKG_NAME:=libgssapi
11 PKG_VERSION:=0.11
12 PKG_RELEASE:=3
13
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
17
18 PKG_BUILD_PARALLEL:=1
19 PKG_INSTALL:=1
20 PKG_FIXUP:=autoreconf
21
22 include $(INCLUDE_DIR)/package.mk
23
24 define Package/libgssapi
25   SECTION:=libs
26   CATEGORY:=Libraries
27   TITLE:=required libraries for the nfs-utils
28   URL:=http://www.citi.umich.edu/projects/nfsv4/linux
29 endef
30
31 define Package/libgssapi/description
32  Support libraries - for newer nfs mount command (nfs4)
33 endef
34
35 TARGET_CFLAGS += -I$(PKG_BUILD_DIR)/lib $(FPIC)
36
37 MAKE_FLAGS += \
38         OPT="$(TARGET_CFLAGS)" \
39         INSTALLSUID="install -m 4755" \
40         DESTDIR="$(PKG_INSTALL_DIR)"
41
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
49 endef
50
51 $(eval $(call BuildPackage,libgssapi))