summaryrefslogtreecommitdiff
path: root/homebrew/dcraw
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/dcraw
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/dcraw')
-rw-r--r--homebrew/dcraw/.beer32
-rw-r--r--homebrew/dcraw/.make.sh-auto5
-rw-r--r--homebrew/dcraw/_metadata/description1
-rw-r--r--homebrew/dcraw/_metadata/homepage1
-rw-r--r--homebrew/dcraw/_metadata/name1
-rw-r--r--homebrew/dcraw/_metadata/version1
-rwxr-xr-xhomebrew/dcraw/download.sh1
7 files changed, 42 insertions, 0 deletions
diff --git a/homebrew/dcraw/.beer b/homebrew/dcraw/.beer
new file mode 100644
index 000000000..2c7e1bf09
--- /dev/null
+++ b/homebrew/dcraw/.beer
@@ -0,0 +1,32 @@
+{
+ "name": "Dcraw",
+ "description": "Digital camera RAW photo decoding software",
+ "url": "https://www.cybercom.net/~dcoffin/dcraw/archive/dcraw-9.28.0.tar.gz",
+ "mirror": "https://mirrorservice.org/sites/distfiles.macports.org/dcraw/dcraw-9.28.0.tar.gz",
+ "homepage": "https://www.cybercom.net/~dcoffin/dcraw/",
+ "depends": [
+ {
+ "depend": "jasper",
+ "build-depend": false
+ },
+ {
+ "depend": "jpeg",
+ "build-depend": false
+ },
+ {
+ "depend": "little-cms2",
+ "build-depend": false
+ }
+ ],
+ "resource": [],
+ "conflicts": [],
+ "patches": [],
+ "install": [
+ "ENV.append_to_cflags \"-I#{HOMEBREW_PREFIX}/include -L#{HOMEBREW_PREFIX}/lib\"",
+ "system ENV.cc, \"-o\", \"dcraw\", ENV.cflags, \"dcraw.c\", \"-lm\", \"-ljpeg\", \"-llcms2\", \"-ljasper\"",
+ "bin.install \"dcraw\"",
+ "man1.install \"dcraw.1\""
+ ],
+ "version": "9.28.0",
+ "file": "dcraw.rb"
+} \ No newline at end of file
diff --git a/homebrew/dcraw/.make.sh-auto b/homebrew/dcraw/.make.sh-auto
new file mode 100644
index 000000000..eed35509d
--- /dev/null
+++ b/homebrew/dcraw/.make.sh-auto
@@ -0,0 +1,5 @@
+pkg:setup
+ENV.append_to_cflags "-I#{HOMEBREW_PREFIX}/include -L#{HOMEBREW_PREFIX}/lib"
+ENV.cc -o dcraw ENV.cflags dcraw.c -lm -ljpeg -llcms2 -ljasper
+bin.install "dcraw"
+man1.install "dcraw.1"
diff --git a/homebrew/dcraw/_metadata/description b/homebrew/dcraw/_metadata/description
new file mode 100644
index 000000000..d91f8b407
--- /dev/null
+++ b/homebrew/dcraw/_metadata/description
@@ -0,0 +1 @@
+Digital camera RAW photo decoding software
diff --git a/homebrew/dcraw/_metadata/homepage b/homebrew/dcraw/_metadata/homepage
new file mode 100644
index 000000000..46758e62d
--- /dev/null
+++ b/homebrew/dcraw/_metadata/homepage
@@ -0,0 +1 @@
+https://www.cybercom.net/~dcoffin/dcraw/
diff --git a/homebrew/dcraw/_metadata/name b/homebrew/dcraw/_metadata/name
new file mode 100644
index 000000000..6c1125c1c
--- /dev/null
+++ b/homebrew/dcraw/_metadata/name
@@ -0,0 +1 @@
+Dcraw
diff --git a/homebrew/dcraw/_metadata/version b/homebrew/dcraw/_metadata/version
new file mode 100644
index 000000000..228565c96
--- /dev/null
+++ b/homebrew/dcraw/_metadata/version
@@ -0,0 +1 @@
+9.28.0
diff --git a/homebrew/dcraw/download.sh b/homebrew/dcraw/download.sh
new file mode 100755
index 000000000..3f10cc2f2
--- /dev/null
+++ b/homebrew/dcraw/download.sh
@@ -0,0 +1 @@
+wget https://www.cybercom.net/~dcoffin/dcraw/archive/dcraw-9.28.0.tar.gz || wget https://mirrorservice.org/sites/distfiles.macports.org/dcraw/dcraw-9.28.0.tar.gz \ No newline at end of file