summaryrefslogtreecommitdiff
path: root/homebrew/getiplayer
diff options
context:
space:
mode:
Diffstat (limited to 'homebrew/getiplayer')
-rw-r--r--homebrew/getiplayer/.beer51
-rw-r--r--homebrew/getiplayer/.make.sh-auto7
-rw-r--r--homebrew/getiplayer/_metadata/description1
-rw-r--r--homebrew/getiplayer/_metadata/homepage1
-rw-r--r--homebrew/getiplayer/_metadata/name1
-rw-r--r--homebrew/getiplayer/_metadata/version1
-rwxr-xr-xhomebrew/getiplayer/download.sh1
7 files changed, 63 insertions, 0 deletions
diff --git a/homebrew/getiplayer/.beer b/homebrew/getiplayer/.beer
new file mode 100644
index 000000000..5bfbb77ec
--- /dev/null
+++ b/homebrew/getiplayer/.beer
@@ -0,0 +1,51 @@
+{
+ "name": "GetIplayer",
+ "description": "Utility for downloading TV and radio programmes from BBC iPlayer",
+ "url": "https://github.com/get-iplayer/get_iplayer/archive/v3.20.tar.gz",
+ "mirror": null,
+ "homepage": "https://github.com/get-iplayer/get_iplayer",
+ "depends": [
+ {
+ "depend": "atomicparsley",
+ "build-depend": false
+ },
+ {
+ "depend": "ffmpeg",
+ "build-depend": false
+ },
+ {
+ "depend": "macos",
+ "build-depend": false
+ }
+ ],
+ "resource": [
+ {
+ "name": "IO::Socket::IP",
+ "url": "https://cpan.metacpan.org/authors/id/P/PE/PEVANS/IO-Socket-IP-0.39.tar.gz"
+ },
+ {
+ "name": "IO::Socket::SSL",
+ "url": "https://cpan.metacpan.org/authors/id/S/SU/SULLR/IO-Socket-SSL-2.066.tar.gz"
+ },
+ {
+ "name": "Mojolicious",
+ "url": "https://cpan.metacpan.org/authors/id/S/SR/SRI/Mojolicious-7.94.tar.gz"
+ },
+ {
+ "name": "Mozilla::CA",
+ "url": "https://cpan.metacpan.org/authors/id/A/AB/ABH/Mozilla-CA-20180117.tar.gz"
+ }
+ ],
+ "conflicts": [],
+ "patches": [],
+ "install": [
+ "ENV.prepend_create_path \"PERL5LIB\", libexec/\"lib/perl5\"",
+ "ENV[\"NO_NETWORK_TESTING\"] = \"1\"",
+ "resources.each do |r|",
+ "r.stage do",
+ "system \"perl\", \"Makefile.PL\", \"INSTALL_BASE=#{libexec}\"",
+ "system \"make\", \"install\""
+ ],
+ "version": "3.20",
+ "file": "get_iplayer.rb"
+} \ No newline at end of file
diff --git a/homebrew/getiplayer/.make.sh-auto b/homebrew/getiplayer/.make.sh-auto
new file mode 100644
index 000000000..c56cba128
--- /dev/null
+++ b/homebrew/getiplayer/.make.sh-auto
@@ -0,0 +1,7 @@
+pkg:setup
+ENV.prepend_create_path "PERL5LIB", libexec/"lib/perl5"
+ENV["NO_NETWORK_TESTING"] = "1"
+resources.each do |r|
+r.stage do
+perl Makefile.PL INSTALL_BASE=#{libexec}
+make DESTDIR=${PKG_DEST} install
diff --git a/homebrew/getiplayer/_metadata/description b/homebrew/getiplayer/_metadata/description
new file mode 100644
index 000000000..32a03a206
--- /dev/null
+++ b/homebrew/getiplayer/_metadata/description
@@ -0,0 +1 @@
+Utility for downloading TV and radio programmes from BBC iPlayer
diff --git a/homebrew/getiplayer/_metadata/homepage b/homebrew/getiplayer/_metadata/homepage
new file mode 100644
index 000000000..efe24b98f
--- /dev/null
+++ b/homebrew/getiplayer/_metadata/homepage
@@ -0,0 +1 @@
+https://github.com/get-iplayer/get_iplayer
diff --git a/homebrew/getiplayer/_metadata/name b/homebrew/getiplayer/_metadata/name
new file mode 100644
index 000000000..9fd7479cf
--- /dev/null
+++ b/homebrew/getiplayer/_metadata/name
@@ -0,0 +1 @@
+GetIplayer
diff --git a/homebrew/getiplayer/_metadata/version b/homebrew/getiplayer/_metadata/version
new file mode 100644
index 000000000..b95829267
--- /dev/null
+++ b/homebrew/getiplayer/_metadata/version
@@ -0,0 +1 @@
+3.20
diff --git a/homebrew/getiplayer/download.sh b/homebrew/getiplayer/download.sh
new file mode 100755
index 000000000..868e41922
--- /dev/null
+++ b/homebrew/getiplayer/download.sh
@@ -0,0 +1 @@
+wget https://github.com/get-iplayer/get_iplayer/archive/v3.20.tar.gz \ No newline at end of file