public inbox for cygwin-apps@cygwin.com
 help / color / mirror / Atom feed
* [ITA] nettle
@ 2024-02-21 12:06 Takashi Yano
  0 siblings, 0 replies; only message in thread
From: Takashi Yano @ 2024-02-21 12:06 UTC (permalink / raw)
  To: cygwin-apps

[-- Attachment #1: Type: text/plain, Size: 83 bytes --]

I would like to adopt nettle package.

-- 
Takashi Yano <takashi.yano@nifty.ne.jp>

[-- Attachment #2: nettle.cygport --]
[-- Type: text/plain, Size: 1231 bytes --]

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
}

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2024-02-21 12:06 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2024-02-21 12:06 [ITA] nettle Takashi Yano

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).