|
|
@ -1,5 +1,5 @@ |
|
|
|
#
|
|
|
|
# Copyright (C) 2007-2015 OpenWrt.org
|
|
|
|
# Copyright (C) 2007-2016 OpenWrt.org
|
|
|
|
#
|
|
|
|
# This is free software, licensed under the GNU General Public License v2.
|
|
|
|
# See /LICENSE for more information.
|
|
|
@ -9,12 +9,14 @@ include $(TOPDIR)/rules.mk |
|
|
|
|
|
|
|
PKG_NAME:=libevhtp |
|
|
|
PKG_VERSION:=1.2.10 |
|
|
|
PKG_RELEASE:=1 |
|
|
|
PKG_RELEASE:=2 |
|
|
|
PKG_LICENSE:=BSD-3-Clause |
|
|
|
|
|
|
|
PKG_SOURCE:=$(PKG_VERSION).tar.gz |
|
|
|
PKG_SOURCE_URL:=https://github.com/ellzey/libevhtp/archive/ |
|
|
|
PKG_MD5SUM:=e7261c7e34654f78047431d169b88806 |
|
|
|
PKG_SOURCE_PROTO:=git |
|
|
|
PKG_SOURCE_URL:=https://github.com/ellzey/libevhtp.git |
|
|
|
PKG_SOURCE_SUBDIR:=$(PKG_NAME)-$(PKG_VERSION) |
|
|
|
PKG_SOURCE_VERSION:=ba4c44eed1fb7a5cf8e4deb236af4f7675cc72d5 |
|
|
|
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION)-$(PKG_SOURCE_VERSION).tar.gz |
|
|
|
|
|
|
|
PKG_INSTALL:=1 |
|
|
|
|
|
|
@ -37,18 +39,10 @@ endef |
|
|
|
|
|
|
|
include $(INCLUDE_DIR)/cmake.mk |
|
|
|
|
|
|
|
Hooks/Prepare/Post += delete_source_package |
|
|
|
|
|
|
|
define delete_source_package |
|
|
|
# deleting source package as its filename is ambiguous |
|
|
|
rm -f $(DL_DIR)/$(PKG_SOURCE) |
|
|
|
endef |
|
|
|
|
|
|
|
define Build/InstallDev |
|
|
|
$(INSTALL_DIR) $(1)/usr/{include,lib} |
|
|
|
$(CP) $(PKG_INSTALL_DIR)/usr/include/* $(1)/usr/include/ |
|
|
|
$(CP) $(PKG_INSTALL_DIR)/usr/lib/libevhtp.so* $(1)/usr/lib/ |
|
|
|
|
|
|
|
endef |
|
|
|
|
|
|
|
define Package/libevhtp/install |
|
|
|