diff options
author | MCApollo <34170230+MCApollo@users.noreply.github.com> | 2019-04-20 20:49:46 -0500 |
---|---|---|
committer | MCApollo <34170230+MCApollo@users.noreply.github.com> | 2019-04-23 20:18:47 -0500 |
commit | 12335518ab39608d58370c85ff9f5384ad2aa5f7 (patch) | |
tree | 352d81f2a2de3f1252af732080ec0fde38c13b4d /homebrew/tinysvm | |
parent | a2b26ad12d4fa12f0273645caf4be6d0b8b71e7c (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/tinysvm')
-rw-r--r-- | homebrew/tinysvm/.beer | 28 | ||||
-rw-r--r-- | homebrew/tinysvm/.make.sh-auto | 5 | ||||
-rw-r--r-- | homebrew/tinysvm/_metadata/description | 1 | ||||
-rw-r--r-- | homebrew/tinysvm/_metadata/homepage | 1 | ||||
-rw-r--r-- | homebrew/tinysvm/_metadata/name | 1 | ||||
-rw-r--r-- | homebrew/tinysvm/_metadata/version | 1 | ||||
-rwxr-xr-x | homebrew/tinysvm/download.sh | 1 | ||||
-rwxr-xr-x | homebrew/tinysvm/patches.sh | 1 |
8 files changed, 39 insertions, 0 deletions
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 |