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
12 PKG_VERSION
:=20040115cvs
15 PKG_BUILD_DIR
:=$(BUILD_DIR
)/$(PKG_NAME
)
16 PKG_SOURCE
:=$(PKG_NAME
)-$(PKG_VERSION
).
tar.bz2
17 PKG_SOURCE_URL
:=@SF
/isakmpd
18 PKG_MD5SUM
:=9f59b10d57cfed5e95743255f1c1620d
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
:=@LINUX_2_6
+libopenssl
+keynote
+libgmp
30 TITLE
:=IPsec management tools
31 DESCRIPTION
:=IPsec management tools
32 URL
:=http
://isakmpd.sourceforge.net
/
36 $(call Build
/Compile
/Default
,LINUX_DIR
="$(LINUX_DIR)" \
37 STAGING_DIR
="$(STAGING_DIR)" \
38 DESTDIR
="$(PKG_INSTALL_DIR)")
39 $(MAKE
) -C
$(PKG_BUILD_DIR
) \
40 DESTDIR
="$(PKG_INSTALL_DIR)" \
41 INSTALL
="install -c" \
45 define Package
/isakmpd
/install
46 install -d
-m0755
$(1)/usr
/sbin
47 $(CP
) $(PKG_INSTALL_DIR
)/* $(1)/
50 $(eval
$(call BuildPackage
,isakmpd
))