pkgsrc-WIP-changes archive

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

lapinotte-util-git: finish package



Module Name:	pkgsrc-wip
Committed By:	Thomas Klausner <tk%giga.or.at@localhost>
Pushed By:	wiz
Date:		Thu Apr 7 21:48:16 2022 +0200
Changeset:	3c1fcd4feccb05089b7e89f3f2984e73e0ab4ffd

Modified Files:
	lapinott-util-git/Makefile
	lapinott-util-git/PLIST
Added Files:
	lapinott-util-git/buildlink3.mk

Log Message:
lapinotte-util-git: finish package

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

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

diffstat:
 lapinott-util-git/Makefile      |  9 ++++++++-
 lapinott-util-git/PLIST         |  5 ++++-
 lapinott-util-git/buildlink3.mk | 15 +++++++++++++++
 3 files changed, 27 insertions(+), 2 deletions(-)

diffs:
diff --git a/lapinott-util-git/Makefile b/lapinott-util-git/Makefile
index a1b1d693a3..fda529fa17 100644
--- a/lapinott-util-git/Makefile
+++ b/lapinott-util-git/Makefile
@@ -1,6 +1,7 @@
 # $NetBSD: Makefile,v 1.18 2018/03/12 11:17:42 wiz Exp $
 
 DISTNAME=	util-0.0
+PKGNAME=	lapinotte-${DISTNAME}
 CATEGORIES=	devel
 #MASTER_SITES=	${MASTER_SITE_GITHUB:=lapinott/}
 GIT_REPO=       https://github.com/lapinott/util.git
@@ -11,12 +12,18 @@ HOMEPAGE=	https://github.com/lapinott/util
 COMMENT=	Utility library for zipfs
 LICENSE=	mit
 
-WRKSRC=			${WRKDIR}/${PKGBASE}
+WRKSRC=			${WRKDIR}/util
 
 USE_CMAKE=	yes
 USE_LANGUAGES=	c c++17
 CMAKE_ARGS+=	-DBOOST_DIR=${BUILDLINK_PREFIX.boost-libs}
 
+INSTALLATION_DIRS=	include/util lib
+
+do-install:
+	${INSTALL_DATA} ${WRKSRC}/util/include/util/*.h ${DESTDIR}${PREFIX}/include/util
+	${INSTALL_LIB} ${WRKSRC}/util/*.a ${DESTDIR}${PREFIX}/lib
+
 .include "../../wip/mk/git-package.mk"
 .include "../../devel/boost-libs/buildlink3.mk"
 .include "../../mk/bsd.pkg.mk"
diff --git a/lapinott-util-git/PLIST b/lapinott-util-git/PLIST
index abc67fa252..095c2379ef 100644
--- a/lapinott-util-git/PLIST
+++ b/lapinott-util-git/PLIST
@@ -1,2 +1,5 @@
 @comment $NetBSD$
-bin/xlossage
+include/util/filesystem_path_t.h
+include/util/split.h
+include/util/utf8_utf16_conv.h
+lib/libutil.a
diff --git a/lapinott-util-git/buildlink3.mk b/lapinott-util-git/buildlink3.mk
new file mode 100644
index 0000000000..dd4d793d95
--- /dev/null
+++ b/lapinott-util-git/buildlink3.mk
@@ -0,0 +1,15 @@
+# $NetBSD$
+
+BUILDLINK_TREE+=	lapinotte-util
+
+.if !defined(LAPINOTTE_UTIL_BUILDLINK3_MK)
+LAPINOTTE_UTIL_BUILDLINK3_MK:=
+
+BUILDLINK_API_DEPENDS.lapinotte-util+=	lapinotte-util>=0.0nb20220407
+BUILDLINK_PKGSRCDIR.lapinotte-util?=	../../wip/lapinott-util-git
+BUILDLINK_DEPMETHOD.lapinotte-util?=	build
+
+.include "../../devel/boost-libs/buildlink3.mk"
+.endif	# LAPINOTTE_UTIL_BUILDLINK3_MK
+
+BUILDLINK_TREE+=	-lapinotte-util


Home | Main Index | Thread Index | Old Index