2 # Copyright (C) 2006-2014 OpenWrt.org
4 # This is free software, licensed under the GNU General Public License v2.
5 # See /LICENSE for more information.
8 include $(TOPDIR)/rules.mk
13 PKG_MD5SUM:=c1f1db32fb6598d6a93e6e88796a8632
15 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
16 PKG_SOURCE_URL:=@GNU/gperf
19 PKG_MAINTAINER:=Espen Jürgensen <espenjurgensen+openwrt@gmail.com>
21 PKG_LICENSE_FILES:=COPYING
23 include $(INCLUDE_DIR)/host-build.mk
24 include $(INCLUDE_DIR)/package.mk
31 URL:=http://www.gnu.org/software/gperf
34 define Package/gperf/description
35 GNU gperf is a perfect hash function generator. For a given list of strings, it
36 produces a hash function and hash table, in form of C or C++ code, for looking
37 up a value depending on the input string. The hash function is perfect, which
38 means that the hash table has no collisions, and the hash table lookup needs a
39 single string comparison only.
43 $(MAKE) -C $(HOST_BUILD_DIR) install
46 $(eval $(call HostBuild))
47 $(eval $(call BuildPackage,gperf))