remove UninstallDev
[packages.git] / libs / libgssapi / Makefile
1
2 # Copyright (C) 2007 OpenWrt.org
3 #
4 # This is free software, licensed under the GNU General Public License v2.
5 # See /LICENSE for more information.
6 #
7 # $Id$
8
9 include $(TOPDIR)/rules.mk
10
11 PKG_NAME:=libgssapi
12 PKG_VERSION:=0.11
13 PKG_RELEASE:=2
14
15 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
16 PKG_SOURCE_URL:=http://www.citi.umich.edu/projects/nfsv4/linux/libgssapi/
17 PKG_MD5SUM:=0e5b4c7267724f8ddf64bc35514c272e
18
19 include $(INCLUDE_DIR)/package.mk
20
21 define Package/libgssapi
22   SECTION:=libs
23   CATEGORY:=Libraries
24   TITLE:=required libraries for the nfs-utils
25   URL:=http://www.citi.umich.edu/projects/nfsv4/linux
26 endef
27
28 define Package/libgssapi/description
29  Support libraries - for newer nfs mount command (nfs4)
30 endef
31
32 TARGET_CFLAGS += -I$(PKG_BUILD_DIR)/lib
33
34 MAKE_FLAGS += \
35         OPT="$(TARGET_CFLAGS)" \
36         INSTALLSUID="install -m 4755" \
37         DESTDIR="$(PKG_INSTALL_DIR)" \
38         all install
39
40 define Build/InstallDev
41         $(INSTALL_DIR) $(1)/usr/include/gssglue/gssapi
42         $(CP) $(PKG_INSTALL_DIR)/usr/include/gssglue/gssapi/gssapi.h $(1)/usr/include/gssglue/gssapi
43         $(INSTALL_DIR) $(1)/usr/lib
44         $(CP) $(PKG_INSTALL_DIR)/usr/lib/libgssapi.{a,so*} $(1)/usr/lib
45         $(INSTALL_DIR) $(1)/usr/lib/pkgconfig
46         $(CP) $(PKG_INSTALL_DIR)/usr/lib/pkgconfig/libgssapi.pc $(1)/usr/lib/pkgconfig
47 endef
48
49 $(eval $(call BuildPackage,libgssapi))