summaryrefslogtreecommitdiff
path: root/homebrew/libghthash
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/libghthash
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/libghthash')
-rw-r--r--homebrew/libghthash/.beer32
-rw-r--r--homebrew/libghthash/.make.sh-auto4
-rw-r--r--homebrew/libghthash/_metadata/description1
-rw-r--r--homebrew/libghthash/_metadata/homepage1
-rw-r--r--homebrew/libghthash/_metadata/name1
-rw-r--r--homebrew/libghthash/_metadata/version1
-rwxr-xr-xhomebrew/libghthash/download.sh1
7 files changed, 41 insertions, 0 deletions
diff --git a/homebrew/libghthash/.beer b/homebrew/libghthash/.beer
new file mode 100644
index 000000000..6e2caa3ad
--- /dev/null
+++ b/homebrew/libghthash/.beer
@@ -0,0 +1,32 @@
+{
+ "name": "Libghthash",
+ "description": "Generic hash table for C++",
+ "url": "https://web.archive.org/web/20170824230514/www.bth.se/people/ska/sim_home/filer/libghthash-0.6.2.tar.gz",
+ "mirror": "https://pkg.freebsd.org/ports-distfiles/libghthash-0.6.2.tar.gz",
+ "homepage": "https://web.archive.org/web/20170824230514/www.bth.se/people/ska/sim_home/libghthash.html",
+ "depends": [
+ {
+ "depend": "autoconf",
+ "build-depend": true
+ },
+ {
+ "depend": "automake",
+ "build-depend": true
+ },
+ {
+ "depend": "libtool",
+ "build-depend": true
+ }
+ ],
+ "resource": [],
+ "conflicts": [],
+ "patches": [],
+ "install": [
+ "system \"autoreconf\", \"-ivf\"",
+ "system \"./configure\", \"--disable-dependency-tracking\",",
+ "\"--prefix=#{prefix}\"",
+ "system \"make\", \"install\""
+ ],
+ "version": "0.6.2",
+ "file": "libghthash.rb"
+} \ No newline at end of file
diff --git a/homebrew/libghthash/.make.sh-auto b/homebrew/libghthash/.make.sh-auto
new file mode 100644
index 000000000..1ebe2a988
--- /dev/null
+++ b/homebrew/libghthash/.make.sh-auto
@@ -0,0 +1,4 @@
+pkg:setup
+autoreconf -ivf
+pkg:configure --disable-dependency-tracking
+make DESTDIR=${PKG_DEST} install
diff --git a/homebrew/libghthash/_metadata/description b/homebrew/libghthash/_metadata/description
new file mode 100644
index 000000000..13054b65d
--- /dev/null
+++ b/homebrew/libghthash/_metadata/description
@@ -0,0 +1 @@
+Generic hash table for C++
diff --git a/homebrew/libghthash/_metadata/homepage b/homebrew/libghthash/_metadata/homepage
new file mode 100644
index 000000000..bf09ba565
--- /dev/null
+++ b/homebrew/libghthash/_metadata/homepage
@@ -0,0 +1 @@
+https://web.archive.org/web/20170824230514/www.bth.se/people/ska/sim_home/libghthash.html
diff --git a/homebrew/libghthash/_metadata/name b/homebrew/libghthash/_metadata/name
new file mode 100644
index 000000000..556043148
--- /dev/null
+++ b/homebrew/libghthash/_metadata/name
@@ -0,0 +1 @@
+Libghthash
diff --git a/homebrew/libghthash/_metadata/version b/homebrew/libghthash/_metadata/version
new file mode 100644
index 000000000..b61604874
--- /dev/null
+++ b/homebrew/libghthash/_metadata/version
@@ -0,0 +1 @@
+0.6.2
diff --git a/homebrew/libghthash/download.sh b/homebrew/libghthash/download.sh
new file mode 100755
index 000000000..d9353b4fc
--- /dev/null
+++ b/homebrew/libghthash/download.sh
@@ -0,0 +1 @@
+wget https://web.archive.org/web/20170824230514/www.bth.se/people/ska/sim_home/filer/libghthash-0.6.2.tar.gz || wget https://pkg.freebsd.org/ports-distfiles/libghthash-0.6.2.tar.gz \ No newline at end of file