From 55161014e76e9199210fda6715627e2504c699c7 Mon Sep 17 00:00:00 2001 From: Felix Fietkau Date: Wed, 18 Mar 2009 21:54:57 +0000 Subject: [PATCH] add gperf (host build only) SVN-Revision: 14945 --- libs/gperf/Makefile | 40 ++++++++++++++++++++++++++++++++++++++++ 1 file changed, 40 insertions(+) create mode 100644 libs/gperf/Makefile diff --git a/libs/gperf/Makefile b/libs/gperf/Makefile new file mode 100644 index 0000000000..df660b6bbd --- /dev/null +++ b/libs/gperf/Makefile @@ -0,0 +1,40 @@ +# +# Copyright (C) 2006-2008 OpenWrt.org +# +# This is free software, licensed under the GNU General Public License v2. +# See /LICENSE for more information. +# +# $Id$ + +include $(TOPDIR)/rules.mk + +PKG_NAME:=gperf +PKG_VERSION:=3.0.3 + +PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz +PKG_SOURCE_URL:=@GNU/gperf +PKG_MD5SUM:=cc20e58975a38075440423c8fb85fd00 +PKG_HOST_ONLY=1 + +include $(INCLUDE_DIR)/host-build.mk +include $(INCLUDE_DIR)/package.mk + +define Package/gperf + SECTION:=libs + CATEGORY:=Libraries + TITLE:=Perfect hash function generator + BUILDONLY:=1 + URL:=http://www.gnu.org/software/gperf +endef + +define Package/lua/Default/description + gperf is a perfect hash function generator +endef + +define Host/Install + $(MAKE) -C $(HOST_BUILD_DIR) install +endef + + +$(eval $(call HostBuild)) +$(eval $(call BuildPackage,gperf)) -- 2.30.2