summaryrefslogtreecommitdiff
path: root/homebrew/a2ps
diff options
context:
space:
mode:
Diffstat (limited to 'homebrew/a2ps')
-rw-r--r--homebrew/a2ps/.beer28
-rw-r--r--homebrew/a2ps/.make.sh-auto3
-rw-r--r--homebrew/a2ps/_metadata/description1
-rw-r--r--homebrew/a2ps/_metadata/homepage1
-rw-r--r--homebrew/a2ps/_metadata/name1
-rw-r--r--homebrew/a2ps/_metadata/version1
-rwxr-xr-xhomebrew/a2ps/download.sh1
-rwxr-xr-xhomebrew/a2ps/patches.sh2
8 files changed, 38 insertions, 0 deletions
diff --git a/homebrew/a2ps/.beer b/homebrew/a2ps/.beer
new file mode 100644
index 000000000..bcacdc1b0
--- /dev/null
+++ b/homebrew/a2ps/.beer
@@ -0,0 +1,28 @@
+{
+ "name": "A2ps",
+ "description": "Any-to-PostScript filter",
+ "url": "https://ftp.gnu.org/gnu/a2ps/a2ps-4.14.tar.gz",
+ "mirror": "https://ftpmirror.gnu.org/a2ps/a2ps-4.14.tar.gz",
+ "homepage": "https://www.gnu.org/software/a2ps/",
+ "depends": [],
+ "resource": [],
+ "conflicts": [],
+ "patches": [
+ {
+ "url": "https://raw.githubusercontent.com/Homebrew/formula-patches/0ae366e6/a2ps/patch-contrib_sample_Makefile.in",
+ "strip": "0"
+ },
+ {
+ "url": "https://raw.githubusercontent.com/Homebrew/formula-patches/0ae366e6/a2ps/patch-lib__xstrrpl.c",
+ "strip": "0"
+ }
+ ],
+ "install": [
+ "system \"./configure\", \"--disable-debug\", \"--disable-dependency-tracking\",",
+ "\"--prefix=#{prefix}\", \"--sysconfdir=#{etc}\",",
+ "\"--with-lispdir=#{elisp}\"",
+ "system \"make\", \"install\""
+ ],
+ "version": "4.14",
+ "file": "a2ps.rb"
+} \ No newline at end of file
diff --git a/homebrew/a2ps/.make.sh-auto b/homebrew/a2ps/.make.sh-auto
new file mode 100644
index 000000000..27a981b04
--- /dev/null
+++ b/homebrew/a2ps/.make.sh-auto
@@ -0,0 +1,3 @@
+pkg:setup
+pkg:configure --disable-dependency-tracking --with-lispdir=#{elisp}
+make DESTDIR=${PKG_DEST} install
diff --git a/homebrew/a2ps/_metadata/description b/homebrew/a2ps/_metadata/description
new file mode 100644
index 000000000..81bc42b49
--- /dev/null
+++ b/homebrew/a2ps/_metadata/description
@@ -0,0 +1 @@
+Any-to-PostScript filter
diff --git a/homebrew/a2ps/_metadata/homepage b/homebrew/a2ps/_metadata/homepage
new file mode 100644
index 000000000..892d9f68b
--- /dev/null
+++ b/homebrew/a2ps/_metadata/homepage
@@ -0,0 +1 @@
+https://www.gnu.org/software/a2ps/
diff --git a/homebrew/a2ps/_metadata/name b/homebrew/a2ps/_metadata/name
new file mode 100644
index 000000000..cf1d8e225
--- /dev/null
+++ b/homebrew/a2ps/_metadata/name
@@ -0,0 +1 @@
+A2ps
diff --git a/homebrew/a2ps/_metadata/version b/homebrew/a2ps/_metadata/version
new file mode 100644
index 000000000..d4505b87e
--- /dev/null
+++ b/homebrew/a2ps/_metadata/version
@@ -0,0 +1 @@
+4.14
diff --git a/homebrew/a2ps/download.sh b/homebrew/a2ps/download.sh
new file mode 100755
index 000000000..b1d9a3e05
--- /dev/null
+++ b/homebrew/a2ps/download.sh
@@ -0,0 +1 @@
+wget https://ftp.gnu.org/gnu/a2ps/a2ps-4.14.tar.gz || wget https://ftpmirror.gnu.org/a2ps/a2ps-4.14.tar.gz \ No newline at end of file
diff --git a/homebrew/a2ps/patches.sh b/homebrew/a2ps/patches.sh
new file mode 100755
index 000000000..8752c55d1
--- /dev/null
+++ b/homebrew/a2ps/patches.sh
@@ -0,0 +1,2 @@
+wget https://raw.githubusercontent.com/Homebrew/formula-patches/0ae366e6/a2ps/patch-contrib_sample_Makefile.in
+wget https://raw.githubusercontent.com/Homebrew/formula-patches/0ae366e6/a2ps/patch-lib__xstrrpl.c