# $Id$

PortSystem 1.0

name			libghash
version			0.0.2
revision		1
categories		devel
license			CPL-1
platforms		darwin
maintainers		nomaintainer
description		General Purpose Hash Function Algorithm library
long_description	The General Purpose Hash Function Algorithm library \
					contains implementations for a series of commonly used \
					additive and rotative string hashing algorithms.

homepage		http://www.partow.net/programming/hashfunctions/
master_sites	http://www.partow.net/downloads/
distname		GeneralHashFunctions_-_C
dist_subdir		${name}/${version}_1
checksums		rmd160 c13ce6f0de3970b81dfffa989920c37a7cc5f410 \
			sha256 b352eda5d2660bfc4afc11918b577925d0d62fd39dcf6310be9bdb63d08b78c3
use_zip			yes
patchfiles		patch-Makefile

use_configure	no

build.env		PREFIX="${prefix}" \
			CC="${configure.cc}" \
			CFLAGS="${configure.cflags} ${configure.cc_archflags}" \
			LDFLAGS="${configure.ld_archflags}"

destroot.env	PREFIX="${prefix}"

test.run		yes