Asus WL-330gE Support
[openwrt.git] / package / ead / Makefile
1 #
2 # Copyright (C) 2006-2008 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:=ead
12 PKG_RELEASE:=1
13
14 PKG_BUILD_DEPENDS:=libpcap
15
16 include $(INCLUDE_DIR)/package.mk
17
18 define Package/ead
19 SECTION:=net
20 CATEGORY:=Base system
21 TITLE:=Emergency Access Daemon
22 URL:=http://bridge.sourceforge.net/
23 endef
24
25 define Package/ead/description
26 Provides remote access to your device even if IP and firewall
27 configuration settings are defunct
28 endef
29
30 CONFIGURE_PATH = tinysrp
31
32 TARGET_CFLAGS += \
33 -I$(PKG_BUILD_DIR) \
34 -I$(PKG_BUILD_DIR)/tinysrp \
35 -I$(STAGING_DIR)/usr/include
36
37 MAKE_FLAGS += \
38 CONFIGURE_ARGS="$(CONFIGURE_ARGS)" \
39 LIBS="$(PKG_BUILD_DIR)/tinysrp/libtinysrp.a" \
40 LIBS_EAD="$(PKG_BUILD_DIR)/tinysrp/libtinysrp.a $(STAGING_DIR)/usr/lib/libpcap.a" \
41 CFLAGS="$(TARGET_CFLAGS)"
42
43 define Build/Prepare
44 mkdir -p $(PKG_BUILD_DIR)
45 $(CP) ./src/* $(PKG_BUILD_DIR)/
46 endef
47
48 define Package/ead/install
49 $(INSTALL_DIR) $(1)/sbin
50 $(INSTALL_BIN) $(PKG_BUILD_DIR)/ead $(1)/sbin/
51 endef
52
53 $(eval $(call BuildPackage,ead))
This page took 0.038832 seconds and 5 git commands to generate.