[packages] syslog-ng3: Pass missing configure args for which configure does
[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_FIXUP:=libtool
19
20 include $(INCLUDE_DIR)/package.mk
21
22 define Package/libgssapi
23   SECTION:=libs
24   CATEGORY:=Libraries
25   TITLE:=required libraries for the nfs-utils
26   URL:=http://www.citi.umich.edu/projects/nfsv4/linux
27 endef
28
29 define Package/libgssapi/description
30  Support libraries - for newer nfs mount command (nfs4)
31 endef
32
33 TARGET_CFLAGS += -I$(PKG_BUILD_DIR)/lib $(FPIC)
34
35 MAKE_FLAGS += \
36         OPT="$(TARGET_CFLAGS)" \
37         INSTALLSUID="install -m 4755" \
38         DESTDIR="$(PKG_INSTALL_DIR)" \
39         all install
40
41 define Build/InstallDev
42         $(INSTALL_DIR) $(1)/usr/include/gssglue/gssapi
43         $(CP) $(PKG_INSTALL_DIR)/usr/include/gssglue/gssapi/gssapi.h $(1)/usr/include/gssglue/gssapi
44         $(INSTALL_DIR) $(1)/usr/lib
45         $(CP) $(PKG_INSTALL_DIR)/usr/lib/libgssapi.{a,so*} $(1)/usr/lib
46         $(INSTALL_DIR) $(1)/usr/lib/pkgconfig
47         $(CP) $(PKG_INSTALL_DIR)/usr/lib/pkgconfig/libgssapi.pc $(1)/usr/lib/pkgconfig
48 endef
49
50 $(eval $(call BuildPackage,libgssapi))