2006-09-03 17:43:25 +00:00
|
|
|
#
|
|
|
|
# Copyright (C) 2006 OpenWrt.org
|
|
|
|
#
|
|
|
|
# This is free software, licensed under the GNU General Public License v2.
|
|
|
|
# See /LICENSE for more information.
|
|
|
|
#
|
2007-03-04 04:41:46 +00:00
|
|
|
# $Id$
|
2006-09-03 17:43:25 +00:00
|
|
|
|
|
|
|
include $(TOPDIR)/rules.mk
|
|
|
|
|
|
|
|
PKG_NAME:=isakmpd
|
2006-09-07 12:40:03 +00:00
|
|
|
PKG_VERSION:=20041012
|
2006-09-03 17:43:25 +00:00
|
|
|
PKG_RELEASE:=1
|
|
|
|
|
2006-09-07 12:40:03 +00:00
|
|
|
PKG_SOURCE:=$(PKG_NAME)_$(PKG_VERSION).orig.tar.gz
|
|
|
|
PKG_SOURCE_URL:=http://ftp.debian.org/debian/pool/main/i/isakmpd/
|
|
|
|
PKG_MD5SUM:=e6d25a9e232fb186e1a48dc06453bd57
|
2006-09-03 17:43:25 +00:00
|
|
|
|
2006-09-24 20:49:31 +00:00
|
|
|
PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME)-$(PKG_VERSION).orig
|
2006-09-03 17:43:25 +00:00
|
|
|
|
|
|
|
include $(INCLUDE_DIR)/package.mk
|
|
|
|
include $(INCLUDE_DIR)/kernel.mk
|
|
|
|
|
|
|
|
define Package/isakmpd
|
2006-09-23 19:32:00 +00:00
|
|
|
SECTION:=net
|
2006-09-17 19:42:54 +00:00
|
|
|
CATEGORY:=Network
|
2006-12-16 22:18:37 +00:00
|
|
|
DEPENDS:=@LINUX_2_6 +libopenssl +keynote +libgmp
|
2006-09-17 19:42:54 +00:00
|
|
|
TITLE:=IPsec management tools
|
|
|
|
URL:=http://isakmpd.sourceforge.net/
|
2006-09-03 17:43:25 +00:00
|
|
|
endef
|
|
|
|
|
|
|
|
define Build/Compile
|
2007-01-21 02:14:50 +00:00
|
|
|
CFLAGS="$(TARGET_CFLAGS)" \
|
|
|
|
$(MAKE) -C $(PKG_BUILD_DIR) \
|
2007-06-06 15:04:17 +00:00
|
|
|
$(TARGET_CONFIGURE_OPTS) -j1 \
|
2006-12-16 22:18:37 +00:00
|
|
|
LINUX_DIR="$(LINUX_DIR)" \
|
2007-03-28 00:06:18 +00:00
|
|
|
EXTRA_CPPFLAGS="$(TARGET_CPPFLAGS) -I$(STAGING_DIR)/usr/include/openssl -I$(STAGING_DIR)/usr/include/keynote" \
|
|
|
|
EXTRA_LDFLAGS="$(TARGET_LDFLAGS)"
|
2007-01-21 02:14:50 +00:00
|
|
|
|
2006-09-03 17:43:25 +00:00
|
|
|
$(MAKE) -C $(PKG_BUILD_DIR) \
|
|
|
|
DESTDIR="$(PKG_INSTALL_DIR)" \
|
|
|
|
INSTALL="install -c" \
|
|
|
|
install-bin
|
|
|
|
endef
|
|
|
|
|
|
|
|
define Package/isakmpd/install
|
2006-11-23 00:29:07 +00:00
|
|
|
$(INSTALL_DIR) $(1)/usr/sbin
|
2006-09-03 17:43:25 +00:00
|
|
|
$(CP) $(PKG_INSTALL_DIR)/* $(1)/
|
|
|
|
endef
|
|
|
|
|
|
|
|
$(eval $(call BuildPackage,isakmpd))
|