summaryrefslogtreecommitdiff
path: root/homebrew/ctl
diff options
context:
space:
mode:
Diffstat (limited to 'homebrew/ctl')
-rw-r--r--homebrew/ctl/.beer45
-rw-r--r--homebrew/ctl/.make.sh-auto5
-rw-r--r--homebrew/ctl/_metadata/description1
-rw-r--r--homebrew/ctl/_metadata/homepage1
-rw-r--r--homebrew/ctl/_metadata/name1
-rw-r--r--homebrew/ctl/_metadata/version1
-rwxr-xr-xhomebrew/ctl/download.sh1
-rwxr-xr-xhomebrew/ctl/patches.sh1
8 files changed, 56 insertions, 0 deletions
diff --git a/homebrew/ctl/.beer b/homebrew/ctl/.beer
new file mode 100644
index 000000000..4df4b2d91
--- /dev/null
+++ b/homebrew/ctl/.beer
@@ -0,0 +1,45 @@
+{
+ "name": "Ctl",
+ "description": "Programming language for digital color management",
+ "url": "https://github.com/ampas/CTL/archive/ctl-1.5.2.tar.gz",
+ "mirror": null,
+ "homepage": "https://github.com/ampas/CTL",
+ "depends": [
+ {
+ "depend": "cmake",
+ "build-depend": true
+ },
+ {
+ "depend": "aces_container",
+ "build-depend": false
+ },
+ {
+ "depend": "ilmbase",
+ "build-depend": false
+ },
+ {
+ "depend": "libtiff",
+ "build-depend": false
+ },
+ {
+ "depend": "openexr",
+ "build-depend": false
+ }
+ ],
+ "resource": [],
+ "conflicts": [],
+ "patches": [
+ {
+ "url": "https://github.com/ampas/CTL/pull/73.diff?full_index=1",
+ "strip": "1"
+ }
+ ],
+ "install": [
+ "ENV.delete \"CTL_MODULE_PATH\"",
+ "mkdir \"build\" do",
+ "system \"cmake\", \"..\", *std_cmake_args",
+ "system \"make\", \"install\""
+ ],
+ "version": "1.5.2",
+ "file": "ctl.rb"
+} \ No newline at end of file
diff --git a/homebrew/ctl/.make.sh-auto b/homebrew/ctl/.make.sh-auto
new file mode 100644
index 000000000..a72d0e93b
--- /dev/null
+++ b/homebrew/ctl/.make.sh-auto
@@ -0,0 +1,5 @@
+pkg:setup
+ENV.delete "CTL_MODULE_PATH"
+mkdir "build" && cd build
+cmake .. -DCMAKE_TOOLCHAIN_FILE=${CMAKE_TOOLCHAIN_FILE}
+make DESTDIR=${PKG_DEST} install
diff --git a/homebrew/ctl/_metadata/description b/homebrew/ctl/_metadata/description
new file mode 100644
index 000000000..6a23f84d3
--- /dev/null
+++ b/homebrew/ctl/_metadata/description
@@ -0,0 +1 @@
+Programming language for digital color management
diff --git a/homebrew/ctl/_metadata/homepage b/homebrew/ctl/_metadata/homepage
new file mode 100644
index 000000000..6a0932a3e
--- /dev/null
+++ b/homebrew/ctl/_metadata/homepage
@@ -0,0 +1 @@
+https://github.com/ampas/CTL
diff --git a/homebrew/ctl/_metadata/name b/homebrew/ctl/_metadata/name
new file mode 100644
index 000000000..afac448ed
--- /dev/null
+++ b/homebrew/ctl/_metadata/name
@@ -0,0 +1 @@
+Ctl
diff --git a/homebrew/ctl/_metadata/version b/homebrew/ctl/_metadata/version
new file mode 100644
index 000000000..4cda8f19e
--- /dev/null
+++ b/homebrew/ctl/_metadata/version
@@ -0,0 +1 @@
+1.5.2
diff --git a/homebrew/ctl/download.sh b/homebrew/ctl/download.sh
new file mode 100755
index 000000000..53a6c086d
--- /dev/null
+++ b/homebrew/ctl/download.sh
@@ -0,0 +1 @@
+wget https://github.com/ampas/CTL/archive/ctl-1.5.2.tar.gz \ No newline at end of file
diff --git a/homebrew/ctl/patches.sh b/homebrew/ctl/patches.sh
new file mode 100755
index 000000000..4caa4f9a6
--- /dev/null
+++ b/homebrew/ctl/patches.sh
@@ -0,0 +1 @@
+wget https://github.com/ampas/CTL/pull/73.diff?full_index=1