NAME="nettle" VERSION=3.9.1 RELEASE=1 LICENSE="LGPL-3.0-or-later OR GPL-2.0-or-later" CATEGORY="Libs" SUMMARY="Low-level cryptographic library" DESCRIPTION="Nettle is a cryptographic library that is designed to fit easily in more or less any context: In crypto toolkits for object-oriented languages, in applications like LSH or GNUPG, or even in kernel space." HOMEPAGE="http://www.lysator.liu.se/~nisse/nettle/" SRC_URI="http://www.lysator.liu.se/~nisse/archive/nettle-${VERSION}.tar.gz" #sha512sum=9a5b4c316222f22feb692106ceae299c2b59229ef96cac1739095c65c9ddee4b1d542579e5b49d4863bd6a8c093611f0fdd1c7cb3251844c85b7e089e406ffc5 #SRC_URI="https://src.fedoraproject.org/repo/pkgs/nettle/nettle-${VERSION}-hobbled.tar.xz/sha512/${sha512sum}/nettle-${VERSION}-hobbled.tar.xz" PKG_NAMES="nettle libnettle8 libhogweed6 libnettle-devel" nettle_CONTENTS="usr/bin/*.exe usr/share/" libnettle8_CONTENTS="usr/bin/cygnettle-8.dll" libhogweed6_CONTENTS="usr/bin/cyghogweed-6.dll" libnettle_devel_CONTENTS="usr/include/ usr/lib/" DIFF_EXCLUDES=".test-rules.make" CYGCONF_ARGS="--enable-fat" src_test() { cd ${B} cygtest } src_install() { cd ${B} cyginstall rm ${D}/usr/lib/lib{nettle,hogweed}.a }