pkgsrc-WIP-changes archive

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

aml: add new package



Module Name:	pkgsrc-wip
Committed By:	Thomas Klausner <wiz%NetBSD.org@localhost>
Pushed By:	wiz
Date:		Thu Feb 26 21:00:48 2026 +0100
Changeset:	79be0b082a06e3e83a0df7cf52edf7c83b568c60

Added Files:
	aml/DESCR
	aml/Makefile
	aml/PLIST
	aml/buildlink3.mk
	aml/distinfo

Log Message:
aml: add new package

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

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

diffstat:
 aml/DESCR         | 19 +++++++++++++++++++
 aml/Makefile      | 22 ++++++++++++++++++++++
 aml/PLIST         |  6 ++++++
 aml/buildlink3.mk | 12 ++++++++++++
 aml/distinfo      |  5 +++++
 5 files changed, 64 insertions(+)

diffs:
diff --git a/aml/DESCR b/aml/DESCR
new file mode 100644
index 0000000000..aba347c8f7
--- /dev/null
+++ b/aml/DESCR
@@ -0,0 +1,19 @@
+# Andri's Main Loop
+
+Goals:
+ * Portability
+ * Utility
+ * Simplicity
+
+Non-goals:
+ * MS Windows (TM) support
+ * Solving the C10K problem
+
+Features:
+ * File descriptor event handlers
+ * Timers
+ * Tickers
+ * Signal handlers
+ * Idle dispatch callbacks
+ * Thread pool
+ * Interoperability with other event loops
diff --git a/aml/Makefile b/aml/Makefile
new file mode 100644
index 0000000000..6caf0f7807
--- /dev/null
+++ b/aml/Makefile
@@ -0,0 +1,22 @@
+# $NetBSD$
+
+DISTNAME=	aml-1.0.0
+CATEGORIES=	# TODO: add primary category
+MASTER_SITES=	${MASTER_SITE_GITHUB:=any1/}
+GITHUB_TAG=	refs/tags/v${PKGVERSION_NOREV}
+
+MAINTAINER=	INSERT_YOUR_MAIL_ADDRESS_HERE # or use pkgsrc-users%NetBSD.org@localhost
+HOMEPAGE=	https://github.com/any1/aml/
+COMMENT=	TODO: Short description of the package
+#LICENSE=	# TODO: (see mk/license.mk)
+
+WRKSRC=	${WRKDIR}/${DISTNAME}
+
+# -D_POSIX_C_SOURCE=200809L
+CFLAGS.NetBSD+=	-D_NETBSD_SOURCE=1
+
+PKGCONFIG_OVERRIDE+=		output/meson-private/aml1.pc
+PKGCONFIG_OVERRIDE_STAGE=	post-configure
+
+.include "../../devel/meson/build.mk"
+.include "../../mk/bsd.pkg.mk"
diff --git a/aml/PLIST b/aml/PLIST
new file mode 100644
index 0000000000..8dd9f0e397
--- /dev/null
+++ b/aml/PLIST
@@ -0,0 +1,6 @@
+@comment $NetBSD$
+include/aml1/aml.h
+lib/libaml.so
+lib/libaml.so.1
+lib/libaml.so.${PKGVERSION}
+lib/pkgconfig/aml1.pc
diff --git a/aml/buildlink3.mk b/aml/buildlink3.mk
new file mode 100644
index 0000000000..91f47a306e
--- /dev/null
+++ b/aml/buildlink3.mk
@@ -0,0 +1,12 @@
+# $NetBSD$
+
+BUILDLINK_TREE+=	aml
+
+.if !defined(AML_BUILDLINK3_MK)
+AML_BUILDLINK3_MK:=
+
+BUILDLINK_API_DEPENDS.aml+=	aml>=1.0.0
+BUILDLINK_PKGSRCDIR.aml?=	../../wip/aml
+.endif	# AML_BUILDLINK3_MK
+
+BUILDLINK_TREE+=	-aml
diff --git a/aml/distinfo b/aml/distinfo
new file mode 100644
index 0000000000..12437138d9
--- /dev/null
+++ b/aml/distinfo
@@ -0,0 +1,5 @@
+$NetBSD$
+
+BLAKE2s (aml-1.0.0.tar.gz) = d69e8dd970fbec963e5ad833e49f26782e118bc2950ce4ca9fa9da82fc9d5c40
+SHA512 (aml-1.0.0.tar.gz) = ae9139fbecec1ebbb10e0d96d9530955ada447edf7fcf7d9db015d78d1626bcdedf0f01d095dc2f0bb040b453b72e66ed824ee6755e7a638cfd02c4b9834c184
+Size (aml-1.0.0.tar.gz) = 21997 bytes


Home | Main Index | Thread Index | Old Index