pkgsrc-WIP-changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

I would like to add a new package "erfa" to pkgsrc wip.



Module Name:	pkgsrc-wip
Committed By:	Kinoshita Daisuke <kinoshita%astro.ncu.edu.tw@localhost>
Pushed By:	daisuke
Date:		Sun Dec 13 16:09:22 2020 +0800
Changeset:	c7bb70f61f86dc5f1c8f4f37a66b170cc990700f

Modified Files:
	Makefile
Added Files:
	erfa/DESCR
	erfa/Makefile
	erfa/PLIST
	erfa/buildlink3.mk
	erfa/distinfo

Log Message:
I would like to add a new package "erfa" to pkgsrc wip.

To see a diff of this commit:
https://wip.pkgsrc.org/cgi-bin/gitweb.cgi?p=pkgsrc-wip.git;a=commitdiff;h=c7bb70f61f86dc5f1c8f4f37a66b170cc990700f

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

diffstat:
 Makefile           |  1 +
 erfa/DESCR         |  2 ++
 erfa/Makefile      | 33 +++++++++++++++++++++++++++++++++
 erfa/PLIST         |  7 +++++++
 erfa/buildlink3.mk | 22 ++++++++++++++++++++++
 erfa/distinfo      |  6 ++++++
 6 files changed, 71 insertions(+)

diffs:
diff --git a/Makefile b/Makefile
index 14ca8b518f..347b794228 100644
--- a/Makefile
+++ b/Makefile
@@ -753,6 +753,7 @@ SUBDIR+=	eot
 SUBDIR+=	epacts
 SUBDIR+=	epix
 SUBDIR+=	epson-inkjet-printer-escpr
+SUBDIR+=	erfa
 SUBDIR+=	erlang-basho
 SUBDIR+=	es40-cvs
 SUBDIR+=	es40-firmware
diff --git a/erfa/DESCR b/erfa/DESCR
new file mode 100644
index 0000000000..01579c4414
--- /dev/null
+++ b/erfa/DESCR
@@ -0,0 +1,2 @@
+ERFA (Essential Routines for Fundamental Astronomy) is a C library for
+astronomy.
diff --git a/erfa/Makefile b/erfa/Makefile
new file mode 100644
index 0000000000..a9dbb344b5
--- /dev/null
+++ b/erfa/Makefile
@@ -0,0 +1,33 @@
+# $NetBSD$
+
+DISTNAME=	erfa-1.7.1
+CATEGORIES=	math
+MASTER_SITES=	${MASTER_SITE_GITHUB:=liberfa/}
+GITHUB_TAG=	v${PKGVERSION_NOREV}
+
+MAINTAINER=	kinoshita%astro.ncu.edu.tw@localhost
+HOMEPAGE=	https://github.com/liberfa/
+COMMENT=	Essential Routines for Fundamental Astronomy
+LICENSE=	modified-bsd
+
+USE_TOOLS+=	pkg-config
+
+PKGCONFIG_OVERRIDE+=	erfa.pc.in
+
+USE_LIBTOOL=	yes
+
+GNU_CONFIGURE=	yes
+
+AUTOCONF_REQD=	2.50
+AUTOMAKE_REQD=	1.7.1
+USE_TOOLS+=	aclocal
+USE_TOOLS+=	autoconf
+USE_TOOLS+=	autoheader
+USE_TOOLS+=	automake
+
+pre-configure:
+	set -e; cd ${WRKSRC}; \
+	./bootstrap.sh; \
+	aclocal; autoheader; automake -a --foreign -i; autoconf
+
+.include "../../mk/bsd.pkg.mk"
diff --git a/erfa/PLIST b/erfa/PLIST
new file mode 100644
index 0000000000..dbbf41aafe
--- /dev/null
+++ b/erfa/PLIST
@@ -0,0 +1,7 @@
+@comment $NetBSD$
+include/erfa.h
+include/erfadatextra.h
+include/erfaextra.h
+include/erfam.h
+lib/liberfa.la
+lib/pkgconfig/erfa.pc
diff --git a/erfa/buildlink3.mk b/erfa/buildlink3.mk
new file mode 100644
index 0000000000..c78fcacda3
--- /dev/null
+++ b/erfa/buildlink3.mk
@@ -0,0 +1,22 @@
+# $NetBSD$
+# XXX
+# XXX This file was created automatically using createbuildlink-3.18.
+# XXX After this file has been verified as correct, the comment lines
+# XXX beginning with "XXX" should be removed.  Please do not commit
+# XXX unverified buildlink3.mk files.
+# XXX
+# XXX Packages that only install static libraries or headers should
+# XXX include the following line:
+# XXX
+# XXX	BUILDLINK_DEPMETHOD.erfa?=	build
+
+BUILDLINK_TREE+=	erfa
+
+.if !defined(ERFA_BUILDLINK3_MK)
+ERFA_BUILDLINK3_MK:=
+
+BUILDLINK_API_DEPENDS.erfa+=	erfa>=1.7.1
+BUILDLINK_PKGSRCDIR.erfa?=	../../math/erfa
+.endif	# ERFA_BUILDLINK3_MK
+
+BUILDLINK_TREE+=	-erfa
diff --git a/erfa/distinfo b/erfa/distinfo
new file mode 100644
index 0000000000..ff0adcd432
--- /dev/null
+++ b/erfa/distinfo
@@ -0,0 +1,6 @@
+$NetBSD$
+
+SHA1 (erfa-1.7.1.tar.gz) = 0224281616f9cdbd7429c626493ee98b4533baa0
+RMD160 (erfa-1.7.1.tar.gz) = 98917ba7720ca47a12dea8ff6a666a6d2ed28d19
+SHA512 (erfa-1.7.1.tar.gz) = 353d7ffc0fb62768375c0514bc7a17fbefeca5d316e3c3efbd83a1060f19b084f9dda0af261f618f19b5f6d5642f1d4669af6a9e03cbe37959f8d0b8f1713b9a
+Size (erfa-1.7.1.tar.gz) = 334357 bytes


Home | Main Index | Thread Index | Old Index