summaryrefslogtreecommitdiff
path: root/homebrew/st
diff options
context:
space:
mode:
Diffstat (limited to 'homebrew/st')
-rw-r--r--homebrew/st/.beer21
-rw-r--r--homebrew/st/.make.sh-auto7
-rw-r--r--homebrew/st/_metadata/description1
-rw-r--r--homebrew/st/_metadata/homepage1
-rw-r--r--homebrew/st/_metadata/name1
-rw-r--r--homebrew/st/_metadata/version1
-rwxr-xr-xhomebrew/st/download.sh1
7 files changed, 33 insertions, 0 deletions
diff --git a/homebrew/st/.beer b/homebrew/st/.beer
new file mode 100644
index 000000000..a54e9bf1a
--- /dev/null
+++ b/homebrew/st/.beer
@@ -0,0 +1,21 @@
+{
+ "name": "St",
+ "description": "Statistics from the command-line",
+ "url": "https://github.com/nferraz/st/archive/v1.1.4.tar.gz",
+ "mirror": null,
+ "homepage": "https://github.com/nferraz/st",
+ "depends": [],
+ "resource": [],
+ "conflicts": [],
+ "patches": [],
+ "install": [
+ "ENV.prepend_create_path \"PERL5LIB\", libexec/\"lib/perl5/site_perl/\"",
+ "system \"perl\", \"Makefile.PL\", \"PREFIX=#{libexec}\"",
+ "system \"make\", \"install\"",
+ "bin.install Dir[libexec/\"bin/*\"]",
+ "bin.env_script_all_files libexec/\"bin\", :PERL5LIB => ENV[\"PERL5LIB\"]",
+ "man1.install_symlink Dir[libexec/\"share/man/man1/*.1\"]"
+ ],
+ "version": "1.1.4",
+ "file": "st.rb"
+} \ No newline at end of file
diff --git a/homebrew/st/.make.sh-auto b/homebrew/st/.make.sh-auto
new file mode 100644
index 000000000..6800f9079
--- /dev/null
+++ b/homebrew/st/.make.sh-auto
@@ -0,0 +1,7 @@
+pkg:setup
+ENV.prepend_create_path "PERL5LIB", libexec/"lib/perl5/site_perl/"
+perl Makefile.PL PREFIX=#{libexec}
+make DESTDIR=${PKG_DEST} install
+bin.install Dir[libexec/"bin/*"]
+bin.env_script_all_files libexec/"bin", :PERL5LIB => ENV["PERL5LIB"]
+man1.install_symlink Dir[libexec/"share/man/man1/*.1"]
diff --git a/homebrew/st/_metadata/description b/homebrew/st/_metadata/description
new file mode 100644
index 000000000..9443a2888
--- /dev/null
+++ b/homebrew/st/_metadata/description
@@ -0,0 +1 @@
+Statistics from the command-line
diff --git a/homebrew/st/_metadata/homepage b/homebrew/st/_metadata/homepage
new file mode 100644
index 000000000..9dc35a3a6
--- /dev/null
+++ b/homebrew/st/_metadata/homepage
@@ -0,0 +1 @@
+https://github.com/nferraz/st
diff --git a/homebrew/st/_metadata/name b/homebrew/st/_metadata/name
new file mode 100644
index 000000000..2f67dc4d9
--- /dev/null
+++ b/homebrew/st/_metadata/name
@@ -0,0 +1 @@
+St
diff --git a/homebrew/st/_metadata/version b/homebrew/st/_metadata/version
new file mode 100644
index 000000000..65087b4f5
--- /dev/null
+++ b/homebrew/st/_metadata/version
@@ -0,0 +1 @@
+1.1.4
diff --git a/homebrew/st/download.sh b/homebrew/st/download.sh
new file mode 100755
index 000000000..f95c60893
--- /dev/null
+++ b/homebrew/st/download.sh
@@ -0,0 +1 @@
+wget https://github.com/nferraz/st/archive/v1.1.4.tar.gz \ No newline at end of file