2009-11-02 00:47:21 +00:00
|
|
|
#
|
2013-08-14 23:23:23 +00:00
|
|
|
# Copyright (C) 2009-2013 OpenWrt.org
|
2009-11-02 00:47:21 +00:00
|
|
|
#
|
|
|
|
# This is free software, licensed under the GNU General Public License v2.
|
|
|
|
# See /LICENSE for more information.
|
|
|
|
#
|
|
|
|
include $(TOPDIR)/rules.mk
|
|
|
|
|
|
|
|
PKG_NAME:=ppl
|
2016-10-02 22:27:48 +00:00
|
|
|
PKG_VERSION:=1.2
|
2009-11-02 00:47:21 +00:00
|
|
|
|
2013-12-15 21:07:34 +00:00
|
|
|
PKG_SOURCE_URL:=http://bugseng.com/products/ppl/download/ftp/releases/$(PKG_VERSION)/
|
2013-08-14 23:23:23 +00:00
|
|
|
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.xz
|
2016-12-16 16:32:10 +00:00
|
|
|
PKG_HASH:=691f0d5a4fb0e206f4e132fc9132c71d6e33cdda168470d40ac3cf62340e9a60
|
2010-12-18 19:34:04 +00:00
|
|
|
|
|
|
|
HOST_FIXUP:=autoreconf
|
2009-11-02 00:47:21 +00:00
|
|
|
|
2013-08-14 23:23:23 +00:00
|
|
|
HOST_BUILD_PARALLEL:=1
|
|
|
|
HOST_CONFIGURE_PARALLEL:=1
|
|
|
|
|
2009-11-02 00:47:21 +00:00
|
|
|
include $(INCLUDE_DIR)/host-build.mk
|
|
|
|
|
|
|
|
unexport CFLAGS
|
|
|
|
|
|
|
|
HOST_CONFIGURE_ARGS += \
|
|
|
|
--enable-static \
|
|
|
|
--disable-shared
|
|
|
|
|
|
|
|
define Host/Configure
|
|
|
|
(cd $(HOST_BUILD_DIR)/$(3); \
|
|
|
|
$(HOST_CONFIGURE_CMD) \
|
|
|
|
$(HOST_CONFIGURE_VARS) \
|
|
|
|
$(HOST_CONFIGURE_ARGS); \
|
|
|
|
)
|
|
|
|
endef
|
|
|
|
|
|
|
|
$(eval $(call HostBuild))
|