summaryrefslogtreecommitdiff
path: root/homebrew/mobiledevice
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/mobiledevice
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/mobiledevice')
-rw-r--r--homebrew/mobiledevice/.beer22
-rw-r--r--homebrew/mobiledevice/.make.sh-auto3
-rw-r--r--homebrew/mobiledevice/_metadata/description1
-rw-r--r--homebrew/mobiledevice/_metadata/homepage1
-rw-r--r--homebrew/mobiledevice/_metadata/name1
-rw-r--r--homebrew/mobiledevice/_metadata/version1
-rwxr-xr-xhomebrew/mobiledevice/download.sh1
-rwxr-xr-xhomebrew/mobiledevice/patches.sh1
8 files changed, 31 insertions, 0 deletions
diff --git a/homebrew/mobiledevice/.beer b/homebrew/mobiledevice/.beer
new file mode 100644
index 000000000..1c61305a7
--- /dev/null
+++ b/homebrew/mobiledevice/.beer
@@ -0,0 +1,22 @@
+{
+ "name": "Mobiledevice",
+ "description": "CLI for Apple",
+ "url": "https://github.com/imkira/mobiledevice/archive/v2.0.0.tar.gz",
+ "mirror": null,
+ "homepage": "https://github.com/imkira/mobiledevice",
+ "depends": [],
+ "resource": [],
+ "conflicts": [],
+ "patches": [
+ {
+ "url": "https://github.com/imkira/mobiledevice/pull/20.patch?full_index=1",
+ "strip": "1"
+ }
+ ],
+ "install": [
+ "(buildpath/\"symlink_framework.sh\").chmod 0555",
+ "system \"make\", \"install\", \"CC=#{ENV.cc}\", \"PREFIX=#{prefix}\""
+ ],
+ "version": "2.0.0",
+ "file": "mobiledevice.rb"
+} \ No newline at end of file
diff --git a/homebrew/mobiledevice/.make.sh-auto b/homebrew/mobiledevice/.make.sh-auto
new file mode 100644
index 000000000..b913d1e06
--- /dev/null
+++ b/homebrew/mobiledevice/.make.sh-auto
@@ -0,0 +1,3 @@
+pkg:setup
+(buildpath/"symlink_framework.sh").chmod 0555
+make DESTDIR=${PKG_DEST} install CC=${PKG_TARG}-clang PREFIX=${PKG_TAPF}
diff --git a/homebrew/mobiledevice/_metadata/description b/homebrew/mobiledevice/_metadata/description
new file mode 100644
index 000000000..7dd6fe059
--- /dev/null
+++ b/homebrew/mobiledevice/_metadata/description
@@ -0,0 +1 @@
+CLI for Apple
diff --git a/homebrew/mobiledevice/_metadata/homepage b/homebrew/mobiledevice/_metadata/homepage
new file mode 100644
index 000000000..d66dcb135
--- /dev/null
+++ b/homebrew/mobiledevice/_metadata/homepage
@@ -0,0 +1 @@
+https://github.com/imkira/mobiledevice
diff --git a/homebrew/mobiledevice/_metadata/name b/homebrew/mobiledevice/_metadata/name
new file mode 100644
index 000000000..11294f116
--- /dev/null
+++ b/homebrew/mobiledevice/_metadata/name
@@ -0,0 +1 @@
+Mobiledevice
diff --git a/homebrew/mobiledevice/_metadata/version b/homebrew/mobiledevice/_metadata/version
new file mode 100644
index 000000000..227cea215
--- /dev/null
+++ b/homebrew/mobiledevice/_metadata/version
@@ -0,0 +1 @@
+2.0.0
diff --git a/homebrew/mobiledevice/download.sh b/homebrew/mobiledevice/download.sh
new file mode 100755
index 000000000..fc497a257
--- /dev/null
+++ b/homebrew/mobiledevice/download.sh
@@ -0,0 +1 @@
+wget https://github.com/imkira/mobiledevice/archive/v2.0.0.tar.gz \ No newline at end of file
diff --git a/homebrew/mobiledevice/patches.sh b/homebrew/mobiledevice/patches.sh
new file mode 100755
index 000000000..0933c38a1
--- /dev/null
+++ b/homebrew/mobiledevice/patches.sh
@@ -0,0 +1 @@
+wget https://github.com/imkira/mobiledevice/pull/20.patch?full_index=1