send: Internal dependencies are broken. Force -j1
[openwrt/svn-archive/archive.git] / ipv6 / send / Makefile
1 #
2 # Copyright (C) 2008-2009 OpenWrt.org
3 #
4 # This is free software, licensed under the GNU General Public License v2.
5 # See /LICENSE for more information.
6 #
7
8 include $(TOPDIR)/rules.mk
9
10 PKG_NAME:=send
11 PKG_VERSION:=0.2-5.4
12 PKG_RELEASE:=1
13
14 PKG_SOURCE:=$(PKG_NAME)d_$(PKG_VERSION).tar.gz
15 PKG_SOURCE_URL:=http://mobisend.org/debian-mobisend/pool/main/s/sendd/
16 PKG_MD5SUM:=99c18e5d965e57d580f146d00145251a
17 PKG_BUILD_DIR:=$(BUILD_DIR)/sendd-0.2
18
19 # Force -j1
20 PKG_JOBS:=
21
22 include $(INCLUDE_DIR)/package.mk
23
24 define Package/send
25 SECTION:=ipv6
26 CATEGORY:=IPv6
27 TITLE:=Secure Neighbor Discovery implementation
28 URL:=http://mobisend.org/debian-mobisend.html
29 DEPENDS:=+kmod-ipv6 +ip6tables +libnetfilter-queue +libopenssl +libreadline +libncurses
30 endef
31
32 define Package/send/description
33 DoCoMo's Open Source SEND project provides an implementation of RFC 3971
34 Secure Neighbor Discovery (SEND). SEND cryptographically secures the
35 IPv6 neighbor discovery protocol, countering the threats discussed in
36 RFC 3756 (IPv6 Neighbor Discovery (ND) Trust Models and Threats).
37 endef
38
39 define Package/send/conffiles
40 /etc/sendd/sendd.conf
41 /etc/sendd/params.conf
42 endef
43
44 MAKE_FLAGS += \
45 CC="$(TARGET_CC)" \
46 CFLAGS="$(TARGET_CFLAGS) -I$(STAGING_DIR)/usr/include/libnetfilter_queue $(TARGET_CPPFLAGS)" \
47 LDFLAGS="$(TARGET_LDFLAGS) -lnfnetlink" \
48
49 define Package/send/install
50 $(INSTALL_DIR) $(1)/usr/sbin
51 $(INSTALL_BIN) $(PKG_BUILD_DIR)/sendd/sendd $(1)/usr/sbin/
52 $(INSTALL_DIR) $(1)/etc/sendd/
53 $(INSTALL_CONF) $(PKG_BUILD_DIR)/examples/sendd.conf $(1)/etc/sendd/
54 $(INSTALL_CONF) $(PKG_BUILD_DIR)/examples/params.conf $(1)/etc/sendd/
55 endef
56
57 $(eval $(call BuildPackage,send))