2 # Copyright (C) 2006 OpenWrt.org
4 # This is free software, licensed under the GNU General Public License v2.
5 # See /LICENSE for more information.
7 # $Id: Makefile 4619 2006-08-22 09:50:02Z florian $
9 include $(TOPDIR
)/rules.mk
15 PKG_SOURCE
:=$(PKG_NAME
)_
$(PKG_VERSION
).orig.
tar.gz
16 PKG_SOURCE_URL
:=http
://ftp.debian.org
/debian
/pool
/main
/i
/isakmpd
/
17 PKG_MD5SUM
:=e6d25a9e232fb186e1a48dc06453bd57
20 PKG_BUILD_DIR
:=$(BUILD_DIR
)/$(PKG_NAME
)-$(PKG_VERSION
).orig
21 PKG_INSTALL_DIR
:=$(PKG_BUILD_DIR
)/ipkg-install
23 include $(INCLUDE_DIR
)/package.mk
24 include $(INCLUDE_DIR
)/kernel.mk
26 define Package
/isakmpd
29 DEPENDS
:=@BROKEN @LINUX_2_6
+libopenssl
+keynote
+libgmp
30 TITLE
:=IPsec management tools
31 URL
:=http
://isakmpd.sourceforge.net
/
35 $(call Build
/Compile
/Default
,LINUX_DIR
="$(LINUX_DIR)" \
36 STAGING_DIR
="$(STAGING_DIR)" \
37 DESTDIR
="$(PKG_INSTALL_DIR)" \
39 $(MAKE
) -C
$(PKG_BUILD_DIR
) \
40 STAGING_DIR
="$(STAGING_DIR)" \
41 DESTDIR
="$(PKG_INSTALL_DIR)" \
42 INSTALL
="install -c" \
46 define Package
/isakmpd
/install
47 $(INSTALL_DIR
) $(1)/usr
/sbin
48 $(CP
) $(PKG_INSTALL_DIR
)/* $(1)/
51 $(eval
$(call BuildPackage
,isakmpd
))