summaryrefslogtreecommitdiff
path: root/net
diff options
context:
space:
mode:
authordrochner <drochner@pkgsrc.org>2004-07-19 20:11:04 +0000
committerdrochner <drochner@pkgsrc.org>2004-07-19 20:11:04 +0000
commit72095ac843e71d1b07ef01bfa4baff8ee8320dfc (patch)
treed3f9c9757aa5b20dfc567965a5a17f9cde9516d3 /net
parent280ebe2fb6ee8e89a22411267d27a2c9ac08da0f (diff)
downloadpkgsrc-72095ac843e71d1b07ef01bfa4baff8ee8320dfc.tar.gz
common libaries for BOINC-3 projects
Diffstat (limited to 'net')
-rw-r--r--net/boinc3-libs/DESCR2
-rw-r--r--net/boinc3-libs/Makefile39
-rw-r--r--net/boinc3-libs/PLIST37
-rw-r--r--net/boinc3-libs/buildlink3.mk21
4 files changed, 99 insertions, 0 deletions
diff --git a/net/boinc3-libs/DESCR b/net/boinc3-libs/DESCR
new file mode 100644
index 00000000000..92cd82d38b6
--- /dev/null
+++ b/net/boinc3-libs/DESCR
@@ -0,0 +1,2 @@
+BOINC is a software platform for distributed computing using volunteer
+computer resources.
diff --git a/net/boinc3-libs/Makefile b/net/boinc3-libs/Makefile
new file mode 100644
index 00000000000..54886883801
--- /dev/null
+++ b/net/boinc3-libs/Makefile
@@ -0,0 +1,39 @@
+# $NetBSD: Makefile,v 1.1.1.1 2004/07/19 20:11:04 drochner Exp $
+#
+
+#DISTNAME= boinc-3.07
+DISTNAME= boinc_public-cvs-2004-07-14
+# in the source: 3.20
+PKGNAME= boinc3-libs-3.19.20040714
+CATEGORIES= net
+#MASTER_SITES= http://boinc.berkeley.edu/source/archive/
+MASTER_SITES= http://boinc.berkeley.edu/source/nightly/
+
+MAINTAINER= tech-pkg@NetBSD.org
+HOMEPAGE= http://boinc.berkeley.edu/
+COMMENT= Libraries for BOINC applications
+
+WRKSRC= ${WRKDIR}/boinc_public
+PATCHDIR= ${.CURDIR}/../../net/boinc3-coreclient/patches
+DISTINFO_FILE= ${.CURDIR}/../../net/boinc3-coreclient/distinfo
+
+USE_BUILDLINK3= yes
+GNU_CONFIGURE= yes
+CONFIGURE_ENV+= MYSQL_CONFIG=true
+
+BUILDDIRS= RSAEuro lib api
+
+do-build:
+ cd ${WRKSRC}; for d in ${BUILDDIRS}; do \
+ (cd $$d && ${SETENV} ${MAKE_ENV} ${MAKE}); \
+ done
+
+do-install:
+ ${INSTALL_DATA_DIR} ${PREFIX}/boinc3/lib
+ ${CP} ${WRKSRC}/lib/*.h ${PREFIX}/boinc3/lib
+ ${INSTALL_DATA} ${WRKSRC}/lib/libboinc.a ${PREFIX}/boinc3/lib
+ ${INSTALL_DATA_DIR} ${PREFIX}/boinc3/api
+ ${CP} ${WRKSRC}/api/*.h ${PREFIX}/boinc3/api
+ ${INSTALL_DATA} ${WRKSRC}/api/libboinc_api.a ${PREFIX}/boinc3/api
+
+.include "../../mk/bsd.pkg.mk"
diff --git a/net/boinc3-libs/PLIST b/net/boinc3-libs/PLIST
new file mode 100644
index 00000000000..21469de1c68
--- /dev/null
+++ b/net/boinc3-libs/PLIST
@@ -0,0 +1,37 @@
+@comment $NetBSD: PLIST,v 1.1.1.1 2004/07/19 20:11:04 drochner Exp $
+boinc3/api/boinc_api.h
+boinc3/api/graphics_api.h
+boinc3/api/graphics_data.h
+boinc3/api/gutil.h
+boinc3/api/libboinc_api.a
+boinc3/api/mac_app_opengl.h
+boinc3/api/mac_carbon_gl.h
+boinc3/api/reduce.h
+boinc3/api/x_opengl.h
+boinc3/lib/app_ipc.h
+boinc3/lib/base64.h
+boinc3/lib/boinc_win.h
+boinc3/lib/crypt.h
+boinc3/lib/diagnostics.h
+boinc3/lib/error_numbers.h
+boinc3/lib/exception.h
+boinc3/lib/filesys.h
+boinc3/lib/hostinfo.h
+boinc3/lib/language.h
+boinc3/lib/libboinc.a
+boinc3/lib/md5.h
+boinc3/lib/md5_file.h
+boinc3/lib/mfile.h
+boinc3/lib/miofile.h
+boinc3/lib/msg_log.h
+boinc3/lib/msg_queue.h
+boinc3/lib/parse.h
+boinc3/lib/result_state.h
+boinc3/lib/shmem.h
+boinc3/lib/stackwalker_win.h
+boinc3/lib/std_fixes.h
+boinc3/lib/synch.h
+boinc3/lib/util.h
+@dirrm boinc3/lib
+@dirrm boinc3/api
+@dirrm boinc3
diff --git a/net/boinc3-libs/buildlink3.mk b/net/boinc3-libs/buildlink3.mk
new file mode 100644
index 00000000000..02f35531136
--- /dev/null
+++ b/net/boinc3-libs/buildlink3.mk
@@ -0,0 +1,21 @@
+# $NetBSD: buildlink3.mk,v 1.1.1.1 2004/07/19 20:11:04 drochner Exp $
+
+BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+
+BOINC_LIBS_BUILDLINK3_MK:= ${BOINC_LIBS_BUILDLINK3_MK}+
+
+.if !empty(BUILDLINK_DEPTH:M+)
+BUILDLINK_DEPENDS+= boinclibs
+.endif
+
+BUILDLINK_PACKAGES:= ${BUILDLINK_PACKAGES:Nboinclibs}
+BUILDLINK_PACKAGES+= boinclibs
+
+.if !empty(BOINC_LIBS_BUILDLINK3_MK:M+)
+BUILDLINK_DEPENDS.boinclibs+= boinc3-libs>=3.19.20040714
+BUILDLINK_PKGSRCDIR.boinclibs?= ../../net/boinc3-libs
+
+# installs static libraries only
+BUILDLINK_DEPMETHOD.boinclibs?= build
+.endif # BOINC_LIBS_BUILDLINK3_MK
+
+BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH:S/+$//}