From 12335518ab39608d58370c85ff9f5384ad2aa5f7 Mon Sep 17 00:00:00 2001 From: MCApollo <34170230+MCApollo@users.noreply.github.com> Date: Sat, 20 Apr 2019 20:49:46 -0500 Subject: Ported in the homebrew-marauder for a hacky update/import system. TODO: Maybe add a license & fix up messy code. --- homebrew/mobiledevice/.beer | 22 ++++++++++++++++++++++ homebrew/mobiledevice/.make.sh-auto | 3 +++ homebrew/mobiledevice/_metadata/description | 1 + homebrew/mobiledevice/_metadata/homepage | 1 + homebrew/mobiledevice/_metadata/name | 1 + homebrew/mobiledevice/_metadata/version | 1 + homebrew/mobiledevice/download.sh | 1 + homebrew/mobiledevice/patches.sh | 1 + 8 files changed, 31 insertions(+) create mode 100644 homebrew/mobiledevice/.beer create mode 100644 homebrew/mobiledevice/.make.sh-auto create mode 100644 homebrew/mobiledevice/_metadata/description create mode 100644 homebrew/mobiledevice/_metadata/homepage create mode 100644 homebrew/mobiledevice/_metadata/name create mode 100644 homebrew/mobiledevice/_metadata/version create mode 100755 homebrew/mobiledevice/download.sh create mode 100755 homebrew/mobiledevice/patches.sh (limited to 'homebrew/mobiledevice') 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 -- cgit v1.2.3