summaryrefslogtreecommitdiff
path: root/homebrew/vstr
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/vstr
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/vstr')
-rw-r--r--homebrew/vstr/.beer25
-rw-r--r--homebrew/vstr/.make.sh-auto4
-rw-r--r--homebrew/vstr/_metadata/description1
-rw-r--r--homebrew/vstr/_metadata/homepage1
-rw-r--r--homebrew/vstr/_metadata/name1
-rw-r--r--homebrew/vstr/_metadata/version1
-rwxr-xr-xhomebrew/vstr/download.sh1
7 files changed, 34 insertions, 0 deletions
diff --git a/homebrew/vstr/.beer b/homebrew/vstr/.beer
new file mode 100644
index 000000000..c271d2571
--- /dev/null
+++ b/homebrew/vstr/.beer
@@ -0,0 +1,25 @@
+{
+ "name": "Vstr",
+ "description": "C string library",
+ "url": "http://www.and.org/vstr/1.0.15/vstr-1.0.15.tar.bz2",
+ "mirror": null,
+ "homepage": "http://www.and.org/vstr/",
+ "depends": [
+ {
+ "depend": "pkg-config",
+ "build-depend": true
+ }
+ ],
+ "resource": [],
+ "conflicts": [],
+ "patches": [],
+ "install": [
+ "ENV.append \"CFLAGS\", \"--std=gnu89\" if ENV.compiler == :clang",
+ "system \"./configure\", \"--disable-dependency-tracking\",",
+ "\"--prefix=#{prefix}\",",
+ "\"--mandir=#{man}\"",
+ "system \"make\", \"install\""
+ ],
+ "version": "1.0.15",
+ "file": "vstr.rb"
+} \ No newline at end of file
diff --git a/homebrew/vstr/.make.sh-auto b/homebrew/vstr/.make.sh-auto
new file mode 100644
index 000000000..ca90f1f26
--- /dev/null
+++ b/homebrew/vstr/.make.sh-auto
@@ -0,0 +1,4 @@
+pkg:setup
+ENV.append "CFLAGS", "--std=gnu89" if ENV.compiler == :clang
+pkg:configure --disable-dependency-tracking
+make DESTDIR=${PKG_DEST} install
diff --git a/homebrew/vstr/_metadata/description b/homebrew/vstr/_metadata/description
new file mode 100644
index 000000000..b89b17ac3
--- /dev/null
+++ b/homebrew/vstr/_metadata/description
@@ -0,0 +1 @@
+C string library
diff --git a/homebrew/vstr/_metadata/homepage b/homebrew/vstr/_metadata/homepage
new file mode 100644
index 000000000..9f31559ae
--- /dev/null
+++ b/homebrew/vstr/_metadata/homepage
@@ -0,0 +1 @@
+http://www.and.org/vstr/
diff --git a/homebrew/vstr/_metadata/name b/homebrew/vstr/_metadata/name
new file mode 100644
index 000000000..8c56056cb
--- /dev/null
+++ b/homebrew/vstr/_metadata/name
@@ -0,0 +1 @@
+Vstr
diff --git a/homebrew/vstr/_metadata/version b/homebrew/vstr/_metadata/version
new file mode 100644
index 000000000..a9707166b
--- /dev/null
+++ b/homebrew/vstr/_metadata/version
@@ -0,0 +1 @@
+1.0.15
diff --git a/homebrew/vstr/download.sh b/homebrew/vstr/download.sh
new file mode 100755
index 000000000..5c43dd56b
--- /dev/null
+++ b/homebrew/vstr/download.sh
@@ -0,0 +1 @@
+wget http://www.and.org/vstr/1.0.15/vstr-1.0.15.tar.bz2 \ No newline at end of file