summaryrefslogtreecommitdiff
path: root/homebrew/datetimefortran
diff options
context:
space:
mode:
authorMCApollo <34170230+MCApollo@users.noreply.github.com>2019-04-20 20:49:46 -0500
committerMCApollo <34170230+MCApollo@users.noreply.github.com>2019-04-23 20:18:47 -0500
commit12335518ab39608d58370c85ff9f5384ad2aa5f7 (patch)
tree352d81f2a2de3f1252af732080ec0fde38c13b4d /homebrew/datetimefortran
parenta2b26ad12d4fa12f0273645caf4be6d0b8b71e7c (diff)
Ported in the homebrew-marauder for a hacky update/import system.
TODO: Maybe add a license & fix up messy code.
Diffstat (limited to 'homebrew/datetimefortran')
-rw-r--r--homebrew/datetimefortran/.beer37
-rw-r--r--homebrew/datetimefortran/.make.sh-auto4
-rw-r--r--homebrew/datetimefortran/_metadata/description1
-rw-r--r--homebrew/datetimefortran/_metadata/homepage1
-rw-r--r--homebrew/datetimefortran/_metadata/name1
-rw-r--r--homebrew/datetimefortran/_metadata/version1
-rwxr-xr-xhomebrew/datetimefortran/download.sh1
7 files changed, 46 insertions, 0 deletions
diff --git a/homebrew/datetimefortran/.beer b/homebrew/datetimefortran/.beer
new file mode 100644
index 000000000..69e84547d
--- /dev/null
+++ b/homebrew/datetimefortran/.beer
@@ -0,0 +1,37 @@
+{
+ "name": "DatetimeFortran",
+ "description": "Fortran time and date manipulation library",
+ "url": "https://github.com/wavebitscientific/datetime-fortran/releases/download/v1.6.0/datetime-fortran-1.6.0.tar.gz",
+ "mirror": null,
+ "homepage": "https://github.com/wavebitscientific/datetime-fortran",
+ "depends": [
+ {
+ "depend": "autoconf",
+ "build-depend": true
+ },
+ {
+ "depend": "automake",
+ "build-depend": true
+ },
+ {
+ "depend": "pkg-config",
+ "build-depend": true
+ },
+ {
+ "depend": "gcc",
+ "build-depend": false
+ }
+ ],
+ "resource": [],
+ "conflicts": [],
+ "patches": [],
+ "install": [
+ "system \"autoreconf\", \"-fvi\" if build.head?",
+ "system \"./configure\", \"--prefix=#{prefix}\",",
+ "\"--disable-silent-rules\"",
+ "system \"make\", \"install\"",
+ "(pkgshare/\"test\").install \"src/tests/datetime_tests.f90\""
+ ],
+ "version": "1.6.0",
+ "file": "datetime-fortran.rb"
+} \ No newline at end of file
diff --git a/homebrew/datetimefortran/.make.sh-auto b/homebrew/datetimefortran/.make.sh-auto
new file mode 100644
index 000000000..872d9ef7e
--- /dev/null
+++ b/homebrew/datetimefortran/.make.sh-auto
@@ -0,0 +1,4 @@
+pkg:setup
+pkg:configure --disable-silent-rules
+make DESTDIR=${PKG_DEST} install
+(pkgshare/"test").install "src/tests/datetime_tests.f90"
diff --git a/homebrew/datetimefortran/_metadata/description b/homebrew/datetimefortran/_metadata/description
new file mode 100644
index 000000000..60314405e
--- /dev/null
+++ b/homebrew/datetimefortran/_metadata/description
@@ -0,0 +1 @@
+Fortran time and date manipulation library
diff --git a/homebrew/datetimefortran/_metadata/homepage b/homebrew/datetimefortran/_metadata/homepage
new file mode 100644
index 000000000..4298d60b0
--- /dev/null
+++ b/homebrew/datetimefortran/_metadata/homepage
@@ -0,0 +1 @@
+https://github.com/wavebitscientific/datetime-fortran
diff --git a/homebrew/datetimefortran/_metadata/name b/homebrew/datetimefortran/_metadata/name
new file mode 100644
index 000000000..d9028bb67
--- /dev/null
+++ b/homebrew/datetimefortran/_metadata/name
@@ -0,0 +1 @@
+DatetimeFortran
diff --git a/homebrew/datetimefortran/_metadata/version b/homebrew/datetimefortran/_metadata/version
new file mode 100644
index 000000000..dc1e644a1
--- /dev/null
+++ b/homebrew/datetimefortran/_metadata/version
@@ -0,0 +1 @@
+1.6.0
diff --git a/homebrew/datetimefortran/download.sh b/homebrew/datetimefortran/download.sh
new file mode 100755
index 000000000..6c66723de
--- /dev/null
+++ b/homebrew/datetimefortran/download.sh
@@ -0,0 +1 @@
+wget https://github.com/wavebitscientific/datetime-fortran/releases/download/v1.6.0/datetime-fortran-1.6.0.tar.gz \ No newline at end of file