summaryrefslogtreecommitdiff
path: root/homebrew/libgphoto2
diff options
context:
space:
mode:
Diffstat (limited to 'homebrew/libgphoto2')
-rw-r--r--homebrew/libgphoto2/.beer49
-rw-r--r--homebrew/libgphoto2/.make.sh-auto3
-rw-r--r--homebrew/libgphoto2/_metadata/description1
-rw-r--r--homebrew/libgphoto2/_metadata/homepage1
-rw-r--r--homebrew/libgphoto2/_metadata/name1
-rw-r--r--homebrew/libgphoto2/_metadata/version1
-rwxr-xr-xhomebrew/libgphoto2/download.sh1
7 files changed, 57 insertions, 0 deletions
diff --git a/homebrew/libgphoto2/.beer b/homebrew/libgphoto2/.beer
new file mode 100644
index 000000000..7f4e50d2a
--- /dev/null
+++ b/homebrew/libgphoto2/.beer
@@ -0,0 +1,49 @@
+{
+ "name": "Libgphoto2",
+ "description": "Gphoto2 digital camera library",
+ "url": "https://downloads.sourceforge.net/project/gphoto/libgphoto/2.5.22/libgphoto2-2.5.22.tar.bz2",
+ "mirror": null,
+ "homepage": "http://www.gphoto.org/proj/libgphoto2/",
+ "depends": [
+ {
+ "depend": "autoconf",
+ "build-depend": true
+ },
+ {
+ "depend": "automake",
+ "build-depend": true
+ },
+ {
+ "depend": "gettext",
+ "build-depend": true
+ },
+ {
+ "depend": "pkg-config",
+ "build-depend": true
+ },
+ {
+ "depend": "gd",
+ "build-depend": false
+ },
+ {
+ "depend": "libtool",
+ "build-depend": false
+ },
+ {
+ "depend": "libusb-compat",
+ "build-depend": false
+ }
+ ],
+ "resource": [],
+ "conflicts": [],
+ "patches": [],
+ "install": [
+ "system \"autoreconf\", \"-fvi\" if build.head?",
+ "system \"./configure\", \"--disable-dependency-tracking\",",
+ "\"--disable-silent-rules\",",
+ "\"--prefix=#{prefix}\"",
+ "system \"make\", \"install\""
+ ],
+ "version": "2.5.22",
+ "file": "libgphoto2.rb"
+} \ No newline at end of file
diff --git a/homebrew/libgphoto2/.make.sh-auto b/homebrew/libgphoto2/.make.sh-auto
new file mode 100644
index 000000000..e3e79dc99
--- /dev/null
+++ b/homebrew/libgphoto2/.make.sh-auto
@@ -0,0 +1,3 @@
+pkg:setup
+pkg:configure --disable-dependency-tracking --disable-silent-rules
+make DESTDIR=${PKG_DEST} install
diff --git a/homebrew/libgphoto2/_metadata/description b/homebrew/libgphoto2/_metadata/description
new file mode 100644
index 000000000..77debbdcc
--- /dev/null
+++ b/homebrew/libgphoto2/_metadata/description
@@ -0,0 +1 @@
+Gphoto2 digital camera library
diff --git a/homebrew/libgphoto2/_metadata/homepage b/homebrew/libgphoto2/_metadata/homepage
new file mode 100644
index 000000000..2eb045ca6
--- /dev/null
+++ b/homebrew/libgphoto2/_metadata/homepage
@@ -0,0 +1 @@
+http://www.gphoto.org/proj/libgphoto2/
diff --git a/homebrew/libgphoto2/_metadata/name b/homebrew/libgphoto2/_metadata/name
new file mode 100644
index 000000000..735564299
--- /dev/null
+++ b/homebrew/libgphoto2/_metadata/name
@@ -0,0 +1 @@
+Libgphoto2
diff --git a/homebrew/libgphoto2/_metadata/version b/homebrew/libgphoto2/_metadata/version
new file mode 100644
index 000000000..ea5343a11
--- /dev/null
+++ b/homebrew/libgphoto2/_metadata/version
@@ -0,0 +1 @@
+2.5.22
diff --git a/homebrew/libgphoto2/download.sh b/homebrew/libgphoto2/download.sh
new file mode 100755
index 000000000..e679d09ff
--- /dev/null
+++ b/homebrew/libgphoto2/download.sh
@@ -0,0 +1 @@
+wget https://downloads.sourceforge.net/project/gphoto/libgphoto/2.5.22/libgphoto2-2.5.22.tar.bz2 \ No newline at end of file