From 12335518ab39608d58370c85ff9f5384ad2aa5f7 Mon Sep 17 00:00:00 2001 From: MCApollo <34170230+MCApollo@users.noreply.github.com> Date: Sat, 20 Apr 2019 20:49:46 -0500 Subject: Ported in the homebrew-marauder for a hacky update/import system. TODO: Maybe add a license & fix up messy code. --- homebrew/tinysvm/.beer | 28 ++++++++++++++++++++++++++++ homebrew/tinysvm/.make.sh-auto | 5 +++++ homebrew/tinysvm/_metadata/description | 1 + homebrew/tinysvm/_metadata/homepage | 1 + homebrew/tinysvm/_metadata/name | 1 + homebrew/tinysvm/_metadata/version | 1 + homebrew/tinysvm/download.sh | 1 + homebrew/tinysvm/patches.sh | 1 + 8 files changed, 39 insertions(+) create mode 100644 homebrew/tinysvm/.beer create mode 100644 homebrew/tinysvm/.make.sh-auto create mode 100644 homebrew/tinysvm/_metadata/description create mode 100644 homebrew/tinysvm/_metadata/homepage create mode 100644 homebrew/tinysvm/_metadata/name create mode 100644 homebrew/tinysvm/_metadata/version create mode 100755 homebrew/tinysvm/download.sh create mode 100755 homebrew/tinysvm/patches.sh (limited to 'homebrew/tinysvm') diff --git a/homebrew/tinysvm/.beer b/homebrew/tinysvm/.beer new file mode 100644 index 000000000..6a9fb36c7 --- /dev/null +++ b/homebrew/tinysvm/.beer @@ -0,0 +1,28 @@ +{ + "name": "Tinysvm", + "description": "Support vector machine library for pattern recognition", + "url": "http://chasen.org/~taku/software/TinySVM/src/TinySVM-0.09.tar.gz", + "mirror": null, + "homepage": "http://chasen.org/~taku/software/TinySVM/", + "depends": [], + "resource": [], + "conflicts": [], + "patches": [ + { + "url": "https://raw.githubusercontent.com/Homebrew/formula-patches/838f605/tinysvm/patch-configure.diff", + "strip": "0" + } + ], + "install": [ + "ENV.append_to_cflags \"-D__GNU_LIBRARY__\"", + "inreplace \"configure\", \"-O9\", \"\" ", + "system \"./configure\", \"--disable-debug\",", + "\"--disable-dependency-tracking\",", + "\"--prefix=#{prefix}\",", + "\"--mandir=#{man}\",", + "\"--disable-shared\"", + "system \"make\", \"install\"" + ], + "version": "0.09", + "file": "tinysvm.rb" +} \ No newline at end of file diff --git a/homebrew/tinysvm/.make.sh-auto b/homebrew/tinysvm/.make.sh-auto new file mode 100644 index 000000000..24e6d2a8b --- /dev/null +++ b/homebrew/tinysvm/.make.sh-auto @@ -0,0 +1,5 @@ +pkg:setup +ENV.append_to_cflags "-D__GNU_LIBRARY__" +inreplace "configure", "-O9", "" +pkg:configure --disable-dependency-tracking --disable-shared +make DESTDIR=${PKG_DEST} install diff --git a/homebrew/tinysvm/_metadata/description b/homebrew/tinysvm/_metadata/description new file mode 100644 index 000000000..a252e9605 --- /dev/null +++ b/homebrew/tinysvm/_metadata/description @@ -0,0 +1 @@ +Support vector machine library for pattern recognition diff --git a/homebrew/tinysvm/_metadata/homepage b/homebrew/tinysvm/_metadata/homepage new file mode 100644 index 000000000..f47999116 --- /dev/null +++ b/homebrew/tinysvm/_metadata/homepage @@ -0,0 +1 @@ +http://chasen.org/~taku/software/TinySVM/ diff --git a/homebrew/tinysvm/_metadata/name b/homebrew/tinysvm/_metadata/name new file mode 100644 index 000000000..f92de71da --- /dev/null +++ b/homebrew/tinysvm/_metadata/name @@ -0,0 +1 @@ +Tinysvm diff --git a/homebrew/tinysvm/_metadata/version b/homebrew/tinysvm/_metadata/version new file mode 100644 index 000000000..e961155a5 --- /dev/null +++ b/homebrew/tinysvm/_metadata/version @@ -0,0 +1 @@ +0.09 diff --git a/homebrew/tinysvm/download.sh b/homebrew/tinysvm/download.sh new file mode 100755 index 000000000..0db529206 --- /dev/null +++ b/homebrew/tinysvm/download.sh @@ -0,0 +1 @@ +wget http://chasen.org/~taku/software/TinySVM/src/TinySVM-0.09.tar.gz \ No newline at end of file diff --git a/homebrew/tinysvm/patches.sh b/homebrew/tinysvm/patches.sh new file mode 100755 index 000000000..c0462ee95 --- /dev/null +++ b/homebrew/tinysvm/patches.sh @@ -0,0 +1 @@ +wget https://raw.githubusercontent.com/Homebrew/formula-patches/838f605/tinysvm/patch-configure.diff -- cgit v1.2.3