pkgsrc-WIP-changes archive

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

Import libcyaml 1.1.0



Module Name:	pkgsrc-wip
Committed By:	Charlotte Koch <dressupgeekout%gmail.com@localhost>
Pushed By:	cfkoch
Date:		Tue Dec 22 17:36:03 2020 -0800
Changeset:	3734eaccb3e350c852586c95b75a4eec739f1a54

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

Log Message:
Import libcyaml 1.1.0

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

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

diffstat:
 Makefile               |  1 +
 libcyaml/DESCR         |  2 ++
 libcyaml/Makefile      | 23 +++++++++++++++++++++++
 libcyaml/PLIST         |  7 +++++++
 libcyaml/buildlink3.mk | 13 +++++++++++++
 libcyaml/distinfo      |  6 ++++++
 6 files changed, 52 insertions(+)

diffs:
diff --git a/Makefile b/Makefile
index 66f7edae34..6b25cbbeca 100644
--- a/Makefile
+++ b/Makefile
@@ -1840,6 +1840,7 @@ SUBDIR+=	libcstring
 SUBDIR+=	libcthreads
 SUBDIR+=	libcuba
 SUBDIR+=	libcue
+SUBDIR+=	libcyaml
 SUBDIR+=	libdbglog
 SUBDIR+=	libdbh2
 SUBDIR+=	libdialog
diff --git a/libcyaml/DESCR b/libcyaml/DESCR
new file mode 100644
index 0000000000..c45aee323f
--- /dev/null
+++ b/libcyaml/DESCR
@@ -0,0 +1,2 @@
+LibCYAML is a C library for reading and writing structured YAML documents.
+It is written in ISO C11 and licensed under the ISC license.
diff --git a/libcyaml/Makefile b/libcyaml/Makefile
new file mode 100644
index 0000000000..1a42cc1586
--- /dev/null
+++ b/libcyaml/Makefile
@@ -0,0 +1,23 @@
+# $NetBSD$
+
+DISTNAME=	libcyaml-1.1.0
+CATEGORIES=	textproc
+MASTER_SITES=	${MASTER_SITE_GITHUB:=tlsa/}
+GITHUB_TAG=	v${PKGVERSION_NOREV}
+
+MAINTAINER=	dressupgeekout%gmail.com@localhost
+COMMENT=	Schema-based YAML parsing and serialization
+LICENSE=	isc
+
+EXTRACT_USING=	gtar
+USE_LANGUAGES=	c c++
+
+USE_TOOLS+=		gmake
+NO_CONFIGURE=		yes
+
+# The Makefile wants to add a bunch of options to install(1) specific to GNU
+# install(1) -- disable those right here.
+INSTALL_MAKE_FLAGS+=	INSTALL="install"
+
+.include "../../textproc/libyaml/buildlink3.mk"
+.include "../../mk/bsd.pkg.mk"
diff --git a/libcyaml/PLIST b/libcyaml/PLIST
new file mode 100644
index 0000000000..69f973c468
--- /dev/null
+++ b/libcyaml/PLIST
@@ -0,0 +1,7 @@
+@comment $NetBSD$
+include/cyaml/cyaml.h
+lib/libcyaml.a
+lib/libcyaml.so
+lib/libcyaml.so.${PKGVERSION}
+lib/libcyaml.so.1
+lib/pkgconfig/libcyaml.pc
diff --git a/libcyaml/buildlink3.mk b/libcyaml/buildlink3.mk
new file mode 100644
index 0000000000..3826fb8538
--- /dev/null
+++ b/libcyaml/buildlink3.mk
@@ -0,0 +1,13 @@
+# $NetBSD$
+
+BUILDLINK_TREE+=	libcyaml
+
+.if !defined(LIBCYAML_BUILDLINK3_MK)
+LIBCYAML_BUILDLINK3_MK:=
+
+BUILDLINK_API_DEPENDS.libcyaml+=	libcyaml>=1.1.0
+BUILDLINK_ABI_DEPENDS.libcyaml+=	libcyaml>=1.1.0
+BUILDLINK_PKGSRCDIR.libcyaml?=		../../wip/libcyaml
+.endif # LIBCYAML_BUILDLINK3_MK
+
+BUILDLINK_TREE+=	-libcyaml
diff --git a/libcyaml/distinfo b/libcyaml/distinfo
new file mode 100644
index 0000000000..247d3f0351
--- /dev/null
+++ b/libcyaml/distinfo
@@ -0,0 +1,6 @@
+$NetBSD$
+
+SHA1 (libcyaml-1.1.0.tar.gz) = 5debb1641ae7177de2b1e24110c7a836f71a8d5f
+RMD160 (libcyaml-1.1.0.tar.gz) = 066eed04f22eb810c8e96f0a239d65679c35edcd
+SHA512 (libcyaml-1.1.0.tar.gz) = 01a328063d4bd22bf722498061af7c1b55de995bb0b84c2249b34b5708e65657767edf8f0de9a7400d09b98e5ad71f369c0cd6293710b5c9d0578276e4703643
+Size (libcyaml-1.1.0.tar.gz) = 80187 bytes


Home | Main Index | Thread Index | Old Index