mirror of
https://git.openwrt.org/openwrt/openwrt.git
synced 2026-03-06 04:40:34 +01:00
Avoids insecure plain HTTP. Signed-off-by: Yanase Yuki <dev@zpc.st> Link: https://github.com/openwrt/openwrt/pull/21279 Signed-off-by: Robert Marko <robimarko@gmail.com>
38 lines
1.1 KiB
Makefile
38 lines
1.1 KiB
Makefile
include $(TOPDIR)/rules.mk
|
|
|
|
PKG_NAME:=gperf
|
|
PKG_VERSION:=3.3
|
|
PKG_RELEASE:=1
|
|
|
|
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
|
|
PKG_SOURCE_URL:=@GNU/gperf
|
|
PKG_HASH:=fd87e0aba7e43ae054837afd6cd4db03a3f2693deb3619085e6ed9d8d9604ad8
|
|
|
|
PKG_LICENSE:=GPL-3.0
|
|
PKG_LICENSE_FILES:=COPYING
|
|
|
|
include $(INCLUDE_DIR)/host-build.mk
|
|
include $(INCLUDE_DIR)/package.mk
|
|
|
|
HOST_CPPFLAGS:=-I$(HOST_BUILD_DIR)/lib -I$(HOST_BUILD_DIR)/src $(HOST_CPPFLAGS)
|
|
TARGET_CPPFLAGS:=-I$(PKG_BUILD_DIR)/lib -I$(PKG_BUILD_DIR)/src $(TARGET_CPPFLAGS)
|
|
|
|
HOST_CXXFLAGS += -std=c++11
|
|
|
|
define Package/gperf
|
|
SECTION:=devel
|
|
CATEGORY:=Development
|
|
TITLE:=GNU gperf
|
|
URL:=https://www.gnu.org/software/gperf
|
|
endef
|
|
|
|
define Package/gperf/description
|
|
GNU gperf is a perfect hash function generator. For a given list of strings,
|
|
it produces a hash function and hash table, in form of C or C++ code,
|
|
for looking up a value depending on the input string.
|
|
The hash function is perfect, which means that the hash table has no collisions,
|
|
and the hash table lookup needs a single string comparison only.
|
|
endef
|
|
|
|
$(eval $(call HostBuild))
|
|
$(eval $(call BuildPackage,gperf))
|