summaryrefslogtreecommitdiff
path: root/homebrew/mandb
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/mandb
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/mandb')
-rw-r--r--homebrew/mandb/.beer34
-rw-r--r--homebrew/mandb/.make.sh-auto5
-rw-r--r--homebrew/mandb/_metadata/description1
-rw-r--r--homebrew/mandb/_metadata/homepage1
-rw-r--r--homebrew/mandb/_metadata/name1
-rw-r--r--homebrew/mandb/_metadata/version1
-rwxr-xr-xhomebrew/mandb/download.sh1
7 files changed, 44 insertions, 0 deletions
diff --git a/homebrew/mandb/.beer b/homebrew/mandb/.beer
new file mode 100644
index 000000000..b732f3cc7
--- /dev/null
+++ b/homebrew/mandb/.beer
@@ -0,0 +1,34 @@
+{
+ "name": "ManDb",
+ "description": "Unix documentation system",
+ "url": "https://download.savannah.gnu.org/releases/man-db/man-db-2.8.5.tar.xz",
+ "mirror": null,
+ "homepage": "http://man-db.nongnu.org/",
+ "depends": [
+ {
+ "depend": "pkg-config",
+ "build-depend": true
+ }
+ ],
+ "resource": [
+ {
+ "name": "libpipeline",
+ "url": "https://download.savannah.gnu.org/releases/libpipeline/libpipeline-1.5.1.tar.gz"
+ }
+ ],
+ "conflicts": [],
+ "patches": [],
+ "install": [
+ "resource(\"libpipeline\").stage do",
+ "system \"./configure\",",
+ "\"--disable-dependency-tracking\",",
+ "\"--disable-silent-rules\",",
+ "\"--prefix=#{buildpath}/libpipeline\",",
+ "\"--enable-static\",",
+ "\"--disable-shared\"",
+ "system \"make\"",
+ "system \"make\", \"install\""
+ ],
+ "version": "2.8.5",
+ "file": "man-db.rb"
+} \ No newline at end of file
diff --git a/homebrew/mandb/.make.sh-auto b/homebrew/mandb/.make.sh-auto
new file mode 100644
index 000000000..1961d0b02
--- /dev/null
+++ b/homebrew/mandb/.make.sh-auto
@@ -0,0 +1,5 @@
+pkg:setup
+resource("libpipeline").stage do
+pkg:configure --disable-dependency-tracking --disable-silent-rules --enable-static --disable-shared
+make
+make DESTDIR=${PKG_DEST} install
diff --git a/homebrew/mandb/_metadata/description b/homebrew/mandb/_metadata/description
new file mode 100644
index 000000000..b1b6ac4f5
--- /dev/null
+++ b/homebrew/mandb/_metadata/description
@@ -0,0 +1 @@
+Unix documentation system
diff --git a/homebrew/mandb/_metadata/homepage b/homebrew/mandb/_metadata/homepage
new file mode 100644
index 000000000..7b07833d9
--- /dev/null
+++ b/homebrew/mandb/_metadata/homepage
@@ -0,0 +1 @@
+http://man-db.nongnu.org/
diff --git a/homebrew/mandb/_metadata/name b/homebrew/mandb/_metadata/name
new file mode 100644
index 000000000..023d488e3
--- /dev/null
+++ b/homebrew/mandb/_metadata/name
@@ -0,0 +1 @@
+ManDb
diff --git a/homebrew/mandb/_metadata/version b/homebrew/mandb/_metadata/version
new file mode 100644
index 000000000..766d70806
--- /dev/null
+++ b/homebrew/mandb/_metadata/version
@@ -0,0 +1 @@
+2.8.5
diff --git a/homebrew/mandb/download.sh b/homebrew/mandb/download.sh
new file mode 100755
index 000000000..9afb353b5
--- /dev/null
+++ b/homebrew/mandb/download.sh
@@ -0,0 +1 @@
+wget https://download.savannah.gnu.org/releases/man-db/man-db-2.8.5.tar.xz \ No newline at end of file