ppl: upgrade to 1.0
[openwrt.git] / tools / ppl / Makefile
1 #
2 # Copyright (C) 2009-2013 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:=ppl
10 PKG_VERSION:=1.0
11
12 PKG_SOURCE_URL:=http://bugseng.com/products/ppl/download/ftp/releases/1.0/
13 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.xz
14 PKG_MD5SUM:=e8caeb84cd858f64b36333c368891c7b
15
16 HOST_FIXUP:=autoreconf
17
18 HOST_BUILD_PARALLEL:=1
19 HOST_CONFIGURE_PARALLEL:=1
20
21 include $(INCLUDE_DIR)/host-build.mk
22
23 unexport CFLAGS
24
25 HOST_CONFIGURE_ARGS += \
26         --enable-static \
27         --disable-shared
28
29 define Host/Configure
30         (cd $(HOST_BUILD_DIR)/$(3); \
31                 $(HOST_CONFIGURE_CMD) \
32                 $(HOST_CONFIGURE_VARS) \
33                 $(HOST_CONFIGURE_ARGS); \
34         )
35 endef
36
37 $(eval $(call HostBuild))