1 include $(TOPDIR
)/rules.mk
7 PKG_SOURCE
:=$(PKG_NAME
)-$(PKG_VERSION
).
tar.gz
8 PKG_SOURCE_URL
:=@GNU
/gperf
9 PKG_HASH
:=588546b945bba4b70b6a3a616e80b4ab466e3f33024a352fc2198112cdbb3ae2
12 PKG_LICENSE_FILES
:=COPYING
14 include $(INCLUDE_DIR
)/host-build.mk
15 include $(INCLUDE_DIR
)/package.mk
17 HOST_CPPFLAGS
:=-I
$(HOST_BUILD_DIR
)/lib
-I
$(HOST_BUILD_DIR
)/src
$(HOST_CPPFLAGS
)
18 TARGET_CPPFLAGS
:=-I
$(PKG_BUILD_DIR
)/lib
-I
$(PKG_BUILD_DIR
)/src
$(TARGET_CPPFLAGS
)
24 URL
:=http
://www.gnu.org
/software
/gperf
27 define Package
/gperf
/description
28 GNU gperf is a perfect hash function generator. For a given list of strings
,
29 it produces a hash function and hash table
, in form of C or C
++ code
,
30 for looking up a value depending on the input string.
31 The hash function is perfect
, which means that the hash table has no collisions
,
32 and the hash table lookup needs a single string comparison only.
35 $(eval
$(call HostBuild
))
36 $(eval
$(call BuildPackage
,gperf
))