summaryrefslogtreecommitdiff
path: root/homebrew/clhep
diff options
context:
space:
mode:
Diffstat (limited to 'homebrew/clhep')
-rw-r--r--homebrew/clhep/.beer32
-rw-r--r--homebrew/clhep/.make.sh-auto5
-rw-r--r--homebrew/clhep/_metadata/description1
-rw-r--r--homebrew/clhep/_metadata/homepage1
-rw-r--r--homebrew/clhep/_metadata/name1
-rw-r--r--homebrew/clhep/_metadata/version1
-rwxr-xr-xhomebrew/clhep/download.sh1
7 files changed, 42 insertions, 0 deletions
diff --git a/homebrew/clhep/.beer b/homebrew/clhep/.beer
new file mode 100644
index 000000000..3d996dbd6
--- /dev/null
+++ b/homebrew/clhep/.beer
@@ -0,0 +1,32 @@
+{
+ "name": "Clhep",
+ "description": "Class Library for High Energy Physics",
+ "url": "https://proj-clhep.web.cern.ch/proj-clhep/DISTRIBUTION/tarFiles/clhep-2.4.1.0.tgz",
+ "mirror": null,
+ "homepage": "https://proj-clhep.web.cern.ch/proj-clhep/",
+ "depends": [
+ {
+ "depend": "autoconf",
+ "build-depend": true
+ },
+ {
+ "depend": "automake",
+ "build-depend": true
+ },
+ {
+ "depend": "cmake",
+ "build-depend": true
+ }
+ ],
+ "resource": [],
+ "conflicts": [],
+ "patches": [],
+ "install": [
+ "mv (buildpath/\"CLHEP\").children, buildpath if build.stable?",
+ "mkdir \"build\" do",
+ "system \"cmake\", \"..\", *std_cmake_args",
+ "system \"make\", \"install\""
+ ],
+ "version": "2.4.1.0",
+ "file": "clhep.rb"
+} \ No newline at end of file
diff --git a/homebrew/clhep/.make.sh-auto b/homebrew/clhep/.make.sh-auto
new file mode 100644
index 000000000..c10e533e7
--- /dev/null
+++ b/homebrew/clhep/.make.sh-auto
@@ -0,0 +1,5 @@
+pkg:setup
+mv (buildpath/"CLHEP").children, buildpath if build.stable?
+mkdir "build" && cd build
+cmake .. -DCMAKE_TOOLCHAIN_FILE=${CMAKE_TOOLCHAIN_FILE}
+make DESTDIR=${PKG_DEST} install
diff --git a/homebrew/clhep/_metadata/description b/homebrew/clhep/_metadata/description
new file mode 100644
index 000000000..17c2c3660
--- /dev/null
+++ b/homebrew/clhep/_metadata/description
@@ -0,0 +1 @@
+Class Library for High Energy Physics
diff --git a/homebrew/clhep/_metadata/homepage b/homebrew/clhep/_metadata/homepage
new file mode 100644
index 000000000..026c94f34
--- /dev/null
+++ b/homebrew/clhep/_metadata/homepage
@@ -0,0 +1 @@
+https://proj-clhep.web.cern.ch/proj-clhep/
diff --git a/homebrew/clhep/_metadata/name b/homebrew/clhep/_metadata/name
new file mode 100644
index 000000000..b7f350015
--- /dev/null
+++ b/homebrew/clhep/_metadata/name
@@ -0,0 +1 @@
+Clhep
diff --git a/homebrew/clhep/_metadata/version b/homebrew/clhep/_metadata/version
new file mode 100644
index 000000000..42dece39c
--- /dev/null
+++ b/homebrew/clhep/_metadata/version
@@ -0,0 +1 @@
+2.4.1.0
diff --git a/homebrew/clhep/download.sh b/homebrew/clhep/download.sh
new file mode 100755
index 000000000..c7632f02b
--- /dev/null
+++ b/homebrew/clhep/download.sh
@@ -0,0 +1 @@
+wget https://proj-clhep.web.cern.ch/proj-clhep/DISTRIBUTION/tarFiles/clhep-2.4.1.0.tgz \ No newline at end of file