diff options
Diffstat (limited to 'homebrew/primesieve')
-rw-r--r-- | homebrew/primesieve/.beer | 23 | ||||
-rw-r--r-- | homebrew/primesieve/.make.sh-auto | 4 | ||||
-rw-r--r-- | homebrew/primesieve/_metadata/description | 1 | ||||
-rw-r--r-- | homebrew/primesieve/_metadata/homepage | 1 | ||||
-rw-r--r-- | homebrew/primesieve/_metadata/name | 1 | ||||
-rw-r--r-- | homebrew/primesieve/_metadata/version | 1 | ||||
-rwxr-xr-x | homebrew/primesieve/download.sh | 1 |
7 files changed, 32 insertions, 0 deletions
diff --git a/homebrew/primesieve/.beer b/homebrew/primesieve/.beer new file mode 100644 index 000000000..571936c69 --- /dev/null +++ b/homebrew/primesieve/.beer @@ -0,0 +1,23 @@ +{ + "name": "Primesieve", + "description": "Fast C/C++ prime number generator", + "url": "https://github.com/kimwalisch/primesieve/archive/v7.4.tar.gz", + "mirror": null, + "homepage": "https://primesieve.org/", + "depends": [ + { + "depend": "cmake", + "build-depend": true + } + ], + "resource": [], + "conflicts": [], + "patches": [], + "install": [ + "mkdir \"build\" do", + "system \"cmake\", \"..\", *std_cmake_args", + "system \"make\", \"install\"" + ], + "version": "7.4", + "file": "primesieve.rb" +}
\ No newline at end of file diff --git a/homebrew/primesieve/.make.sh-auto b/homebrew/primesieve/.make.sh-auto new file mode 100644 index 000000000..82cef73c2 --- /dev/null +++ b/homebrew/primesieve/.make.sh-auto @@ -0,0 +1,4 @@ +pkg:setup +mkdir "build" && cd build +cmake .. -DCMAKE_TOOLCHAIN_FILE=${CMAKE_TOOLCHAIN_FILE} +make DESTDIR=${PKG_DEST} install diff --git a/homebrew/primesieve/_metadata/description b/homebrew/primesieve/_metadata/description new file mode 100644 index 000000000..b9da32559 --- /dev/null +++ b/homebrew/primesieve/_metadata/description @@ -0,0 +1 @@ +Fast C/C++ prime number generator diff --git a/homebrew/primesieve/_metadata/homepage b/homebrew/primesieve/_metadata/homepage new file mode 100644 index 000000000..5c599d978 --- /dev/null +++ b/homebrew/primesieve/_metadata/homepage @@ -0,0 +1 @@ +https://primesieve.org/ diff --git a/homebrew/primesieve/_metadata/name b/homebrew/primesieve/_metadata/name new file mode 100644 index 000000000..21bb62efd --- /dev/null +++ b/homebrew/primesieve/_metadata/name @@ -0,0 +1 @@ +Primesieve diff --git a/homebrew/primesieve/_metadata/version b/homebrew/primesieve/_metadata/version new file mode 100644 index 000000000..37722ebbc --- /dev/null +++ b/homebrew/primesieve/_metadata/version @@ -0,0 +1 @@ +7.4 diff --git a/homebrew/primesieve/download.sh b/homebrew/primesieve/download.sh new file mode 100755 index 000000000..f97403ac5 --- /dev/null +++ b/homebrew/primesieve/download.sh @@ -0,0 +1 @@ +wget https://github.com/kimwalisch/primesieve/archive/v7.4.tar.gz
\ No newline at end of file |