[packages] Cleanup libpam a bit.
git-svn-id: svn://svn.openwrt.org/openwrt/packages@16427 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
parent
3b2f708642
commit
676779c4c6
@ -1,5 +1,5 @@
|
|||||||
#
|
#
|
||||||
# Copyright (C) 2006 OpenWrt.org
|
# Copyright (C) 2006-2009 OpenWrt.org
|
||||||
#
|
#
|
||||||
# This is free software, licensed under the GNU General Public License v2.
|
# This is free software, licensed under the GNU General Public License v2.
|
||||||
# See /LICENSE for more information.
|
# See /LICENSE for more information.
|
||||||
@ -14,6 +14,8 @@ PKG_RELEASE:=1
|
|||||||
PKG_SOURCE:=Linux-PAM-$(PKG_VERSION).tar.gz
|
PKG_SOURCE:=Linux-PAM-$(PKG_VERSION).tar.gz
|
||||||
PKG_SOURCE_URL:=http://www.kernel.org/pub/linux/libs/pam/pre/library/
|
PKG_SOURCE_URL:=http://www.kernel.org/pub/linux/libs/pam/pre/library/
|
||||||
PKG_MD5SUM:=0f17f7105faa82a51dfbeb6b08a1ca29
|
PKG_MD5SUM:=0f17f7105faa82a51dfbeb6b08a1ca29
|
||||||
|
PKG_INSTALL:=1
|
||||||
|
PKG_FIXUP:=libtool
|
||||||
|
|
||||||
PKG_BUILD_DIR:=$(BUILD_DIR)/Linux-PAM-$(PKG_VERSION)
|
PKG_BUILD_DIR:=$(BUILD_DIR)/Linux-PAM-$(PKG_VERSION)
|
||||||
|
|
||||||
@ -47,16 +49,10 @@ define Build/Configure
|
|||||||
)
|
)
|
||||||
endef
|
endef
|
||||||
|
|
||||||
define Build/Compile
|
|
||||||
$(MAKE) -C $(PKG_BUILD_DIR) \
|
|
||||||
DESTDIR="$(PKG_INSTALL_DIR)" \
|
|
||||||
all install
|
|
||||||
endef
|
|
||||||
|
|
||||||
define Build/InstallDev
|
define Build/InstallDev
|
||||||
mkdir -p $(1)/usr/lib $(1)/lib
|
$(INSTALL_DIR) $(1)/lib
|
||||||
mkdir -p $(1)/usr/include
|
$(INSTALL_DIR) $(1)/usr/include
|
||||||
$(CP) $(PKG_INSTALL_DIR)/lib/* $(1)/usr/lib/
|
$(CP) $(PKG_INSTALL_DIR)/lib/* $(1)/lib/
|
||||||
$(CP) $(PKG_INSTALL_DIR)/usr/include/* $(1)/usr/include
|
$(CP) $(PKG_INSTALL_DIR)/usr/include/* $(1)/usr/include
|
||||||
endef
|
endef
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user