pkgsrc-WIP-changes archive

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

abc: installation of libabc.a added (strangely no header exposed by abc)



Module Name:	pkgsrc-wip
Committed By:	mayuresh <mayuresh%acm.org@localhost>
Pushed By:	mayuresh
Date:		Fri Sep 13 15:38:47 2024 +0530
Changeset:	7e26e6c7a73f1c16351db472a64196556fe1da24

Modified Files:
	abc/Makefile
	abc/PLIST

Log Message:
abc: installation of libabc.a added (strangely no header exposed by abc)

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

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

diffstat:
 abc/Makefile | 8 ++++++--
 abc/PLIST    | 1 +
 2 files changed, 7 insertions(+), 2 deletions(-)

diffs:
diff --git a/abc/Makefile b/abc/Makefile
index a6686b26d7..87b8ab8346 100644
--- a/abc/Makefile
+++ b/abc/Makefile
@@ -17,10 +17,14 @@ WRKSRC=		${WRKDIR}/abc-ef5389d31526003c2ebd7e6d6d6fe3848a20f0a2
 USE_LANGUAGES=	c c++
 USE_TOOLS+=	gmake
 
-INSTALLATION_DIRS+=	bin
+INSTALLATION_DIRS+=	bin lib
+
+BUILDDIR=	${WRKSRC}/${CMAKE_BUILD_DIR}
 
 do-install:
-	cd ${WRKSRC}/cmake-pkgsrc-build && ${GMAKE} all && ${INSTALL} abc ${DESTDIR}${PREFIX}/bin
+	${MKDIR} -p ${DESTDIR}${PREFIX}/bin ${DESTDIR}${PREFIX}/lib
+	${INSTALL} ${BUILDDIR}/abc ${DESTDIR}${PREFIX}/bin
+	${INSTALL} ${BUILDDIR}/libabc.a ${DESTDIR}${PREFIX}/lib
 
 .include "../../mk/readline.buildlink3.mk"
 .include "../../devel/cmake/build.mk"
diff --git a/abc/PLIST b/abc/PLIST
index 3e3d3eeeb9..4d71bd117f 100644
--- a/abc/PLIST
+++ b/abc/PLIST
@@ -1,2 +1,3 @@
 @comment $NetBSD$
 bin/abc
+lib/libabc.a


Home | Main Index | Thread Index | Old Index