summaryrefslogtreecommitdiff
path: root/homebrew/libdc1394
diff options
context:
space:
mode:
Diffstat (limited to 'homebrew/libdc1394')
-rw-r--r--homebrew/libdc1394/.beer52
-rw-r--r--homebrew/libdc1394/.make.sh-auto3
-rw-r--r--homebrew/libdc1394/_metadata/description1
-rw-r--r--homebrew/libdc1394/_metadata/homepage1
-rw-r--r--homebrew/libdc1394/_metadata/name1
-rw-r--r--homebrew/libdc1394/_metadata/version1
-rwxr-xr-xhomebrew/libdc1394/download.sh1
-rwxr-xr-xhomebrew/libdc1394/patches.sh1
8 files changed, 61 insertions, 0 deletions
diff --git a/homebrew/libdc1394/.beer b/homebrew/libdc1394/.beer
new file mode 100644
index 000000000..2e8257ca3
--- /dev/null
+++ b/homebrew/libdc1394/.beer
@@ -0,0 +1,52 @@
+{
+ "name": "Libdc1394",
+ "description": "Provides API for IEEE 1394 cameras",
+ "url": "https://downloads.sourceforge.net/project/libdc1394/libdc1394-2/2.2.2/libdc1394-2.2.2.tar.gz",
+ "mirror": null,
+ "homepage": "https://damien.douxchamps.net/ieee1394/libdc1394/",
+ "depends": [
+ {
+ "depend": "autoconf",
+ "build-depend": true
+ },
+ {
+ "depend": "automake",
+ "build-depend": true
+ },
+ {
+ "depend": "libtool",
+ "build-depend": true
+ },
+ {
+ "depend": "pkg-config",
+ "build-depend": true
+ },
+ {
+ "depend": "libusb",
+ "build-depend": false
+ },
+ {
+ "depend": "sdl",
+ "build-depend": false
+ }
+ ],
+ "resource": [],
+ "conflicts": [],
+ "patches": [
+ {
+ "url": "https://raw.githubusercontent.com/Homebrew/formula-patches/b8275aa07f/libdc1394/capture.patch",
+ "strip": "1"
+ }
+ ],
+ "install": [
+ "Dir.chdir(\"libdc1394\") if build.head?",
+ "system \"autoreconf\", \"-i\", \"-s\" if build.head?",
+ "system \"./configure\", \"--disable-dependency-tracking\",",
+ "\"--prefix=#{prefix}\",",
+ "\"--disable-examples\",",
+ "\"--disable-sdltest\"",
+ "system \"make\", \"install\""
+ ],
+ "version": "1394",
+ "file": "libdc1394.rb"
+} \ No newline at end of file
diff --git a/homebrew/libdc1394/.make.sh-auto b/homebrew/libdc1394/.make.sh-auto
new file mode 100644
index 000000000..a6cde1805
--- /dev/null
+++ b/homebrew/libdc1394/.make.sh-auto
@@ -0,0 +1,3 @@
+pkg:setup
+pkg:configure --disable-dependency-tracking --disable-examples --disable-sdltest
+make DESTDIR=${PKG_DEST} install
diff --git a/homebrew/libdc1394/_metadata/description b/homebrew/libdc1394/_metadata/description
new file mode 100644
index 000000000..990e7ba84
--- /dev/null
+++ b/homebrew/libdc1394/_metadata/description
@@ -0,0 +1 @@
+Provides API for IEEE 1394 cameras
diff --git a/homebrew/libdc1394/_metadata/homepage b/homebrew/libdc1394/_metadata/homepage
new file mode 100644
index 000000000..fc8f0e9ff
--- /dev/null
+++ b/homebrew/libdc1394/_metadata/homepage
@@ -0,0 +1 @@
+https://damien.douxchamps.net/ieee1394/libdc1394/
diff --git a/homebrew/libdc1394/_metadata/name b/homebrew/libdc1394/_metadata/name
new file mode 100644
index 000000000..5838a0733
--- /dev/null
+++ b/homebrew/libdc1394/_metadata/name
@@ -0,0 +1 @@
+Libdc1394
diff --git a/homebrew/libdc1394/_metadata/version b/homebrew/libdc1394/_metadata/version
new file mode 100644
index 000000000..80b6d67ed
--- /dev/null
+++ b/homebrew/libdc1394/_metadata/version
@@ -0,0 +1 @@
+1394
diff --git a/homebrew/libdc1394/download.sh b/homebrew/libdc1394/download.sh
new file mode 100755
index 000000000..2abfe7285
--- /dev/null
+++ b/homebrew/libdc1394/download.sh
@@ -0,0 +1 @@
+wget https://downloads.sourceforge.net/project/libdc1394/libdc1394-2/2.2.2/libdc1394-2.2.2.tar.gz \ No newline at end of file
diff --git a/homebrew/libdc1394/patches.sh b/homebrew/libdc1394/patches.sh
new file mode 100755
index 000000000..c7c3e9668
--- /dev/null
+++ b/homebrew/libdc1394/patches.sh
@@ -0,0 +1 @@
+wget https://raw.githubusercontent.com/Homebrew/formula-patches/b8275aa07f/libdc1394/capture.patch