2010-02-19 00:14:01 +00:00
|
|
|
#
|
|
|
|
# Copyright (C) 2007-2010 OpenWrt.org
|
2007-06-13 17:19:48 +00:00
|
|
|
#
|
|
|
|
# This is free software, licensed under the GNU General Public License v2.
|
|
|
|
# See /LICENSE for more information.
|
|
|
|
#
|
|
|
|
|
|
|
|
include $(TOPDIR)/rules.mk
|
|
|
|
|
|
|
|
PKG_NAME:=librpcsecgss
|
|
|
|
PKG_VERSION:=0.14
|
2007-07-12 10:46:06 +00:00
|
|
|
PKG_RELEASE:=2
|
2007-06-13 17:19:48 +00:00
|
|
|
|
|
|
|
PKG_SOURCE:=librpcsecgss-$(PKG_VERSION).tar.gz
|
|
|
|
PKG_SOURCE_URL:=http://www.citi.umich.edu/projects/nfsv4/linux/librpcsecgss/
|
|
|
|
PKG_MD5SUM:=0d4cdee46a98731b1b71e30504589281
|
|
|
|
|
2007-07-12 10:46:06 +00:00
|
|
|
PKG_BUILD_DEPENDS:=libgssapi
|
2010-10-08 19:10:23 +00:00
|
|
|
PKG_BUILD_PARALLEL:=1
|
|
|
|
PKG_INSTALL:=1
|
2012-06-11 21:18:33 +00:00
|
|
|
PKG_FIXUP:=autoreconf
|
2007-07-12 10:46:06 +00:00
|
|
|
|
2007-06-13 17:19:48 +00:00
|
|
|
include $(INCLUDE_DIR)/package.mk
|
|
|
|
|
|
|
|
define Package/librpcsecgss
|
|
|
|
SECTION:=libs
|
|
|
|
CATEGORY:=Libraries
|
|
|
|
TITLE:=required libraries for the nfs-utils
|
|
|
|
URL:=http://www.citi.umich.edu/projects/nfsv4/linux
|
|
|
|
endef
|
|
|
|
|
2007-10-14 04:32:56 +00:00
|
|
|
define Package/librpcsecgss/description
|
|
|
|
Support libraries - for newer nfs mount command (nfs4)
|
|
|
|
endef
|
|
|
|
|
2008-08-06 22:43:15 +00:00
|
|
|
TARGET_CFLAGS += -I$(PKG_BUILD_DIR)/lib -I$(STAGING_DIR)/usr/include/gssglue/ $(FPIC)
|
2007-07-12 10:46:06 +00:00
|
|
|
|
|
|
|
MAKE_FLAGS += \
|
|
|
|
OPT="$(TARGET_CFLAGS)" \
|
|
|
|
INSTALLSUID="install -m 4755" \
|
|
|
|
DESTDIR="$(PKG_INSTALL_DIR)" \
|
2010-10-08 19:10:23 +00:00
|
|
|
GSSAPI_LIBS="usr/lib/libgssapi.a"
|
2007-06-13 17:19:48 +00:00
|
|
|
|
|
|
|
define Build/InstallDev
|
2007-10-07 03:20:26 +00:00
|
|
|
$(INSTALL_DIR) $(1)/usr/include/rpcsecgss/rpc
|
|
|
|
$(CP) $(PKG_INSTALL_DIR)/usr/include/rpcsecgss/rpc/*.h $(1)/usr/include/rpcsecgss/rpc/
|
|
|
|
$(INSTALL_DIR) $(1)/usr/lib
|
|
|
|
$(CP) $(PKG_INSTALL_DIR)/usr/lib/librpcsecgss.{a,so*} $(1)/usr/lib
|
|
|
|
$(INSTALL_DIR) $(1)/usr/lib/pkgconfig
|
|
|
|
$(CP) $(PKG_INSTALL_DIR)/usr/lib/pkgconfig/librpcsecgss.pc $(1)/usr/lib/pkgconfig
|
2010-02-19 00:14:01 +00:00
|
|
|
endef
|
2007-06-13 17:19:48 +00:00
|
|
|
|
|
|
|
$(eval $(call BuildPackage,librpcsecgss))
|