Fix the handling of unsupported ioctls (eth0 appeared in iwconfig for instance)
[openwrt.git] / package / isakmpd / Makefile
1 #
2 # Copyright (C) 2006 OpenWrt.org
3 #
4 # This is free software, licensed under the GNU General Public License v2.
5 # See /LICENSE for more information.
6 #
7 # $Id$
8
9 include $(TOPDIR)/rules.mk
10
11 PKG_NAME:=isakmpd
12 PKG_VERSION:=20041012
13 PKG_RELEASE:=1
14
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
18
19 PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME)-$(PKG_VERSION).orig
20
21 include $(INCLUDE_DIR)/package.mk
22 include $(INCLUDE_DIR)/kernel.mk
23
24 define Package/isakmpd
25 SECTION:=net
26 CATEGORY:=Network
27 DEPENDS:=@LINUX_2_6 +libopenssl +keynote +libgmp
28 TITLE:=IPsec management tools
29 URL:=http://isakmpd.sourceforge.net/
30 endef
31
32 define Build/Compile
33 CFLAGS="$(TARGET_CFLAGS)" \
34 $(MAKE) -C $(PKG_BUILD_DIR) \
35 $(TARGET_CONFIGURE_OPTS) \
36 LINUX_DIR="$(LINUX_DIR)" \
37 EXTRA_CPPFLAGS="$(TARGET_CPPFLAGS) -I$(STAGING_DIR)/usr/include/openssl -I$(STAGING_DIR)/usr/include/keynote" \
38 EXTRA_LDFLAGS="$(TARGET_LDFLAGS)"
39
40 $(MAKE) -C $(PKG_BUILD_DIR) \
41 DESTDIR="$(PKG_INSTALL_DIR)" \
42 INSTALL="install -c" \
43 install-bin
44 endef
45
46 define Package/isakmpd/install
47 $(INSTALL_DIR) $(1)/usr/sbin
48 $(CP) $(PKG_INSTALL_DIR)/* $(1)/
49 endef
50
51 $(eval $(call BuildPackage,isakmpd))
This page took 0.054639 seconds and 5 git commands to generate.