pkgsrc-WIP-changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
ThirdParty-ASL: initial revision
Module Name: pkgsrc-wip
Committed By: mayuresh <mayuresh%acm.org@localhost>
Pushed By: mayuresh
Date: Sun Aug 25 14:15:58 2024 +0530
Changeset: 9ff1b1f9fad2d4a7d71ab3dc7676e9553613d577
Added Files:
ThirdParty-ASL/DESCR
ThirdParty-ASL/Makefile
ThirdParty-ASL/PLIST
ThirdParty-ASL/TODO
ThirdParty-ASL/buildlink3.mk
ThirdParty-ASL/distinfo
Log Message:
ThirdParty-ASL: initial revision
To see a diff of this commit:
https://wip.pkgsrc.org/cgi-bin/gitweb.cgi?p=pkgsrc-wip.git;a=commitdiff;h=9ff1b1f9fad2d4a7d71ab3dc7676e9553613d577
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
diffstat:
ThirdParty-ASL/DESCR | 2 ++
ThirdParty-ASL/Makefile | 34 ++++++++++++++++++++++++++++++++++
ThirdParty-ASL/PLIST | 15 +++++++++++++++
ThirdParty-ASL/TODO | 1 +
ThirdParty-ASL/buildlink3.mk | 12 ++++++++++++
ThirdParty-ASL/distinfo | 5 +++++
6 files changed, 69 insertions(+)
diffs:
diff --git a/ThirdParty-ASL/DESCR b/ThirdParty-ASL/DESCR
new file mode 100644
index 0000000000..57bc19d9ff
--- /dev/null
+++ b/ThirdParty-ASL/DESCR
@@ -0,0 +1,2 @@
+This is an autotools-based build system to build and install the
+Ampl Solver Library (ASL) as it is used by some COIN-OR projects.
diff --git a/ThirdParty-ASL/Makefile b/ThirdParty-ASL/Makefile
new file mode 100644
index 0000000000..53bdb50b90
--- /dev/null
+++ b/ThirdParty-ASL/Makefile
@@ -0,0 +1,34 @@
+# $NetBSD$
+
+DISTNAME= 2.0.1
+PKGNAME= ${GITHUB_PROJECT}-${DISTNAME}
+CATEGORIES= math
+MASTER_SITES= ${MASTER_SITE_GITHUB:=coin-or-tools/}
+GITHUB_PROJECT= ThirdParty-ASL
+GITHUB_TAG= refs/tags/releases/2.0.1
+DIST_SUBDIR= ${GITHUB_PROJECT}
+
+MAINTAINER= pkgsrc-users%NetBSD.org@localhost
+HOMEPAGE= https://github.com/coin-or-tools/ThirdParty-ASL/
+COMMENT= COIN-OR autotools harness to build AMPL Solver Library
+LICENSE= epl-v1.0
+
+WRKSRC= ${WRKDIR}/ThirdParty-ASL-releases-2.0.1
+GNU_CONFIGURE= yes
+USE_LIBTOOL= yes
+USE_TOOLS+= wget tar
+USE_LANGUAGES= c
+
+PKGCONFIG_OVERRIDE+= coinasl.pc.in
+
+SOLVER_MASTER_SITE= https://coin-or-tools.github.io/ThirdParty-ASL
+SOLVER_DISTFILE= solvers-64919f75f.tgz
+
+# TODO: The SOLVER_DISTFILE needs to be in distinfo, extracted automatically
+# FreeBSD port math/asl creates a soft link to auto-extracted file. How to do that in pkgsrc?
+# Change USE_TOOLS accordingly
+post-extract:
+ cd ${WRKSRC} && wget --no-check-certificate ${SOLVER_MASTER_SITE}/${SOLVER_DISTFILE} && tar xvzf ${SOLVER_DISTFILE}
+
+
+.include "../../mk/bsd.pkg.mk"
diff --git a/ThirdParty-ASL/PLIST b/ThirdParty-ASL/PLIST
new file mode 100644
index 0000000000..c74137fea3
--- /dev/null
+++ b/ThirdParty-ASL/PLIST
@@ -0,0 +1,15 @@
+@comment $NetBSD$
+include/coin-or/asl/arith.h
+include/coin-or/asl/asl.h
+include/coin-or/asl/asl_pfg.h
+include/coin-or/asl/asl_pfgh.h
+include/coin-or/asl/funcadd.h
+include/coin-or/asl/getstub.h
+include/coin-or/asl/nlp.h
+include/coin-or/asl/nlp2.h
+include/coin-or/asl/opcode.hd
+include/coin-or/asl/psinfo.h
+include/coin-or/asl/r_opn.hd
+include/coin-or/asl/stdio1.h
+lib/libcoinasl.la
+lib/pkgconfig/coinasl.pc
diff --git a/ThirdParty-ASL/TODO b/ThirdParty-ASL/TODO
new file mode 100644
index 0000000000..fe326eff73
--- /dev/null
+++ b/ThirdParty-ASL/TODO
@@ -0,0 +1 @@
+See a TODO in the Makefile
diff --git a/ThirdParty-ASL/buildlink3.mk b/ThirdParty-ASL/buildlink3.mk
new file mode 100644
index 0000000000..222c5a0aa2
--- /dev/null
+++ b/ThirdParty-ASL/buildlink3.mk
@@ -0,0 +1,12 @@
+# $NetBSD$
+
+BUILDLINK_TREE+= ThirdParty-ASL
+
+.if !defined(THIRDPARTY_ASL_BUILDLINK3_MK)
+THIRDPARTY_ASL_BUILDLINK3_MK:=
+
+BUILDLINK_API_DEPENDS.ThirdParty-ASL+= ThirdParty-ASL>=2.0.1
+BUILDLINK_PKGSRCDIR.ThirdParty-ASL?= ../../wip/ThirdParty-ASL
+.endif # THIRDPARTY_ASL_BUILDLINK3_MK
+
+BUILDLINK_TREE+= -ThirdParty-ASL
diff --git a/ThirdParty-ASL/distinfo b/ThirdParty-ASL/distinfo
new file mode 100644
index 0000000000..f1e19001d2
--- /dev/null
+++ b/ThirdParty-ASL/distinfo
@@ -0,0 +1,5 @@
+$NetBSD$
+
+BLAKE2s (ThirdParty-ASL/2.0.1.tar.gz) = 03adc2f580e4d0bf7710b504b16425f377201c3e42e80530c0bf6bea3e242206
+SHA512 (ThirdParty-ASL/2.0.1.tar.gz) = 37c05677ebc82d56228cd80382c37ae44546fd5681063488bd2cd3c35c2155c2f85e6e8fbcbe41913eeafeb3ac12d2972919893de75affade3016e64f75e034b
+Size (ThirdParty-ASL/2.0.1.tar.gz) = 252385 bytes
Home |
Main Index |
Thread Index |
Old Index