public inbox for cygwin-apps@cygwin.com
 help / color / mirror / Atom feed
From: Takashi Yano <takashi.yano@nifty.ne.jp>
To: cygwin-apps@cygwin.com
Subject: [ITA] nettle
Date: Wed, 21 Feb 2024 21:06:04 +0900	[thread overview]
Message-ID: <20240221210604.6ef3b8204ccc2d192ffd6b32@nifty.ne.jp> (raw)

[-- 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
}

                 reply	other threads:[~2024-02-21 12:06 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20240221210604.6ef3b8204ccc2d192ffd6b32@nifty.ne.jp \
    --to=takashi.yano@nifty.ne.jp \
    --cc=cygwin-apps@cygwin.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).