2009-06-12 18:43:56 +00:00
|
|
|
#
|
|
|
|
# Copyright (C) 2006-2009 OpenWrt.org
|
2007-01-10 22:42:31 +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:=libpam
|
2010-12-07 14:49:19 +00:00
|
|
|
PKG_VERSION:=1.1.3
|
2007-01-10 22:42:31 +00:00
|
|
|
PKG_RELEASE:=1
|
|
|
|
|
2010-09-06 20:25:42 +00:00
|
|
|
PKG_SOURCE:=Linux-PAM-$(PKG_VERSION).tar.bz2
|
2010-12-07 14:49:19 +00:00
|
|
|
PKG_SOURCE_URL:=@KERNEL/linux/libs/pam/library
|
|
|
|
PKG_MD5SUM:=6db7fcb5db6253350e3a4648ceac40e7
|
2009-06-12 18:43:56 +00:00
|
|
|
PKG_INSTALL:=1
|
|
|
|
PKG_FIXUP:=libtool
|
2007-01-10 22:42:31 +00:00
|
|
|
|
|
|
|
PKG_BUILD_DIR:=$(BUILD_DIR)/Linux-PAM-$(PKG_VERSION)
|
|
|
|
|
|
|
|
include $(INCLUDE_DIR)/package.mk
|
|
|
|
|
|
|
|
define Package/libpam
|
|
|
|
SECTION:=libs
|
|
|
|
CATEGORY:=Libraries
|
2007-12-30 03:13:56 +00:00
|
|
|
DEPENDS:=@BROKEN
|
2007-01-11 13:23:45 +00:00
|
|
|
TITLE:=free implementation of the following DCE-RFC from Sunsoft.
|
2007-01-10 22:42:31 +00:00
|
|
|
URL:=http://www.kernel.org/pub/linux/libs/pam
|
|
|
|
endef
|
|
|
|
|
2007-10-14 04:32:56 +00:00
|
|
|
define Package/libpam/description
|
|
|
|
Linux-PAM is a free implementation of the following DCE-RFC from Sunsoft.
|
|
|
|
|
|
|
|
endef
|
|
|
|
|
2008-08-06 22:43:15 +00:00
|
|
|
TARGET_CFLAGS += $(FPIC)
|
|
|
|
|
2007-01-10 22:42:31 +00:00
|
|
|
define Build/Configure
|
2010-12-07 14:49:19 +00:00
|
|
|
(cd $(PKG_BUILD_DIR); autoreconf -v -f --install || exit 1)
|
2007-01-10 22:42:31 +00:00
|
|
|
$(call Build/Configure/Default, \
|
|
|
|
--enable-shared \
|
|
|
|
--enable-static \
|
|
|
|
--enable-pamlocking \
|
|
|
|
--disable-prelude \
|
|
|
|
--disable-lckpwdf \
|
|
|
|
--disable-selinux \
|
|
|
|
--disable-nls \
|
|
|
|
--disable-rpath \
|
|
|
|
)
|
|
|
|
endef
|
|
|
|
|
2010-12-07 14:49:19 +00:00
|
|
|
|
|
|
|
|
2007-01-10 22:42:31 +00:00
|
|
|
define Build/InstallDev
|
2009-06-12 18:43:56 +00:00
|
|
|
$(INSTALL_DIR) $(1)/lib
|
|
|
|
$(INSTALL_DIR) $(1)/usr/include
|
|
|
|
$(CP) $(PKG_INSTALL_DIR)/lib/* $(1)/lib/
|
2007-10-07 03:20:26 +00:00
|
|
|
$(CP) $(PKG_INSTALL_DIR)/usr/include/* $(1)/usr/include
|
2007-01-10 22:42:31 +00:00
|
|
|
endef
|
|
|
|
|
|
|
|
define Package/libpam/install
|
|
|
|
$(INSTALL_DIR) $(1)/lib
|
|
|
|
$(INSTALL_DIR) $(1)/etc
|
|
|
|
$(INSTALL_DIR) $(1)/usr/sbin
|
2008-12-31 15:07:21 +00:00
|
|
|
$(CP) $(PKG_INSTALL_DIR)/lib/* $(1)/lib/
|
2007-01-10 22:42:31 +00:00
|
|
|
$(CP) $(PKG_INSTALL_DIR)/etc/* $(1)/etc/
|
2007-12-09 18:59:01 +00:00
|
|
|
$(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/sbin/* $(1)/usr/sbin/
|
2007-01-10 22:42:31 +00:00
|
|
|
endef
|
|
|
|
|
|
|
|
$(eval $(call BuildPackage,libpam))
|