prefix=/usr/pkg
exec_prefix=${prefix}
libdir=/usr/pkg/lib
includedir=${prefix}/include

# Uses Requires.private and Libs.private, under the assumption that
# when using shared libraries, the ELF dependencies from libhogweed.so
# to nettle and gmp work.

Name: Hogweed
Description: Nettle low-level cryptographic library (public-key algorithms)
URL: http://www.lysator.liu.se/~nisse/nettle
Version: 3.10.1
Requires:  nettle
Requires.private: # nettle
Libs: -Wl,-R${libdir} -L${libdir} -lhogweed  -lgmp 
Libs.private: # -lgmp 
Cflags: -I${includedir}

