kernel: update 4.4 to 4.4.88
[openwrt/openwrt.git] / tools / upslug2 / Makefile
1 #
2 # Copyright (C) 2009-2012 OpenWrt.org
3 #
4 # This is free software, licensed under the GNU General Public License v2.
5 # See /LICENSE for more information.
6 #
7 include $(TOPDIR)/rules.mk
8
9 PKG_NAME:=upslug2
10 PKG_VERSION:=20071227
11
12 PKG_SOURCE_URL:=http://svn.nslu2-linux.org/svnroot/upslug2/trunk
13 PKG_SOURCE_PROTO:=svn
14 PKG_SOURCE_SUBDIR:=upslug2-$(PKG_VERSION)
15 PKG_SOURCE_VERSION:=41
16 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.xz
17 PKG_MIRROR_HASH:=5c69eae3a2affef8f4f7194cfedfdb9175b04ca433f9ae046c85309b42bdb21e
18
19 include $(INCLUDE_DIR)/host-build.mk
20
21 unexport CFLAGS
22
23 define Host/Configure
24 (cd $(HOST_BUILD_DIR); \
25 aclocal && autoconf && \
26 autoheader && \
27 automake --add-missing; \
28 )
29 $(Host/Configure/Default)
30 endef
31
32 ifneq ($(HOST_OS),Linux)
33 HOST_CONFIGURE_ARGS += --with-libpcap
34 endif
35
36 $(eval $(call HostBuild))