summaryrefslogtreecommitdiff
path: root/devel
diff options
context:
space:
mode:
authormaya <maya@pkgsrc.org>2021-01-24 19:09:21 +0000
committermaya <maya@pkgsrc.org>2021-01-24 19:09:21 +0000
commit6fbd0b09561101de3350fe93819b0efca8af9939 (patch)
treebdf115086459a4464befe01df036c74d60e195e8 /devel
parentf5950e012a09e246bf52c260e6f1314c0d0971f1 (diff)
downloadpkgsrc-6fbd0b09561101de3350fe93819b0efca8af9939.tar.gz
Add libstubborn version 0.1
header-only library to provide generic and some application-specific stub functions
Diffstat (limited to 'devel')
-rw-r--r--devel/Makefile3
-rw-r--r--devel/libstubborn/DESCR2
-rw-r--r--devel/libstubborn/Makefile26
-rw-r--r--devel/libstubborn/PLIST3
-rw-r--r--devel/libstubborn/buildlink3.mk12
-rw-r--r--devel/libstubborn/distinfo6
6 files changed, 51 insertions, 1 deletions
diff --git a/devel/Makefile b/devel/Makefile
index a6a22b37939..c910cbc8107 100644
--- a/devel/Makefile
+++ b/devel/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.3321 2021/01/23 23:49:36 wiz Exp $
+# $NetBSD: Makefile,v 1.3322 2021/01/24 19:09:21 maya Exp $
#
COMMENT= Development utilities
@@ -841,6 +841,7 @@ SUBDIR+= libstash
SUBDIR+= libstatgrab
SUBDIR+= libstree
SUBDIR+= libstroke
+SUBDIR+= libstubborn
SUBDIR+= libtai
SUBDIR+= libtar
SUBDIR+= libtecla
diff --git a/devel/libstubborn/DESCR b/devel/libstubborn/DESCR
new file mode 100644
index 00000000000..9e7cf8858eb
--- /dev/null
+++ b/devel/libstubborn/DESCR
@@ -0,0 +1,2 @@
+header-only library to provide generic and some application-specific
+stub functions
diff --git a/devel/libstubborn/Makefile b/devel/libstubborn/Makefile
new file mode 100644
index 00000000000..31ebfd37022
--- /dev/null
+++ b/devel/libstubborn/Makefile
@@ -0,0 +1,26 @@
+# $NetBSD: Makefile,v 1.1 2021/01/24 19:09:21 maya Exp $
+
+GITHUB_PROJECT= libstubborn
+GITHUB_TAG= 0.1
+DISTNAME= 0.1
+PKGNAME= ${GITHUB_PROJECT}-${DISTNAME}
+CATEGORIES= # TODO: add primary category
+MASTER_SITES= ${MASTER_SITE_GITHUB:=rfht/}
+DIST_SUBDIR= ${GITHUB_PROJECT}
+
+MAINTAINER= pkgsrc-users@NetBSD.org
+HOMEPAGE= https://github.com/rfht/libstubborn/
+COMMENT= Library of generic stub functions
+LICENSE= isc
+
+WRKSRC= ${WRKDIR}/libstubborn-0.1
+
+INSTALLATION_DIRS+= lib
+
+do-install:
+ set -e; cd ${WRKSRC}; \
+ ${LN} -sf libstubborn.so.0.0 libstubborn.so
+ ${INSTALL_DATA} ${WRKSRC}/libstubborn.so* \
+ ${DESTDIR}${PREFIX}/lib/
+
+.include "../../mk/bsd.pkg.mk"
diff --git a/devel/libstubborn/PLIST b/devel/libstubborn/PLIST
new file mode 100644
index 00000000000..cd2fb1e4e7d
--- /dev/null
+++ b/devel/libstubborn/PLIST
@@ -0,0 +1,3 @@
+@comment $NetBSD: PLIST,v 1.1 2021/01/24 19:09:21 maya Exp $
+lib/libstubborn.so
+lib/libstubborn.so.0.0
diff --git a/devel/libstubborn/buildlink3.mk b/devel/libstubborn/buildlink3.mk
new file mode 100644
index 00000000000..f175f08856b
--- /dev/null
+++ b/devel/libstubborn/buildlink3.mk
@@ -0,0 +1,12 @@
+# $NetBSD: buildlink3.mk,v 1.1 2021/01/24 19:09:21 maya Exp $
+
+BUILDLINK_TREE+= libstubborn
+
+.if !defined(LIBSTUBBORN_BUILDLINK3_MK)
+LIBSTUBBORN_BUILDLINK3_MK:=
+
+BUILDLINK_API_DEPENDS.libstubborn+= libstubborn>=0.1
+BUILDLINK_PKGSRCDIR.libstubborn?= ../../devel/libstubborn
+.endif # LIBSTUBBORN_BUILDLINK3_MK
+
+BUILDLINK_TREE+= -libstubborn
diff --git a/devel/libstubborn/distinfo b/devel/libstubborn/distinfo
new file mode 100644
index 00000000000..5a2a58f4334
--- /dev/null
+++ b/devel/libstubborn/distinfo
@@ -0,0 +1,6 @@
+$NetBSD: distinfo,v 1.1 2021/01/24 19:09:21 maya Exp $
+
+SHA1 (libstubborn/0.1.tar.gz) = 5650f1976bcb6b6d92a4d66afdc8fdc002f73423
+RMD160 (libstubborn/0.1.tar.gz) = 53eb1785a03e72e8fa0d0e44221b5df09853d52a
+SHA512 (libstubborn/0.1.tar.gz) = 6d69581340bb91bc3906cacc953e74b460ad5e6eabdabe4a8b0b3043d5717c36bb91ad1418f546f3b4e5df97b730a5410ed5d15045c6cfb7daea99f0cc0a4033
+Size (libstubborn/0.1.tar.gz) = 1462 bytes