summaryrefslogtreecommitdiff
path: root/homebrew/sratoolkit
diff options
context:
space:
mode:
Diffstat (limited to 'homebrew/sratoolkit')
-rw-r--r--homebrew/sratoolkit/.beer41
-rw-r--r--homebrew/sratoolkit/.make.sh-auto7
-rw-r--r--homebrew/sratoolkit/_metadata/description1
-rw-r--r--homebrew/sratoolkit/_metadata/homepage1
-rw-r--r--homebrew/sratoolkit/_metadata/name1
-rw-r--r--homebrew/sratoolkit/_metadata/version1
-rwxr-xr-xhomebrew/sratoolkit/download.sh1
7 files changed, 53 insertions, 0 deletions
diff --git a/homebrew/sratoolkit/.beer b/homebrew/sratoolkit/.beer
new file mode 100644
index 000000000..b63be6b5b
--- /dev/null
+++ b/homebrew/sratoolkit/.beer
@@ -0,0 +1,41 @@
+{
+ "name": "Sratoolkit",
+ "description": "Data tools for INSDC Sequence Read Archive",
+ "url": "https://github.com/ncbi/sra-tools/archive/2.9.3.tar.gz",
+ "mirror": null,
+ "homepage": "https://github.com/ncbi/sra-tools",
+ "depends": [
+ {
+ "depend": "hdf5",
+ "build-depend": false
+ },
+ {
+ "depend": "libmagic",
+ "build-depend": false
+ }
+ ],
+ "resource": [
+ {
+ "name": "ngs-sdk",
+ "url": "https://github.com/ncbi/ngs/archive/2.9.2.tar.gz"
+ },
+ {
+ "name": "ncbi-vdb",
+ "url": "https://github.com/ncbi/ncbi-vdb/archive/2.9.2.tar.gz"
+ }
+ ],
+ "conflicts": [],
+ "patches": [],
+ "install": [
+ "ngs_sdk_prefix = buildpath/\"ngs-sdk-prefix\"",
+ "resource(\"ngs-sdk\").stage do",
+ "cd \"ngs-sdk\" do",
+ "system \"./configure\",",
+ "\"--prefix=#{ngs_sdk_prefix}\",",
+ "\"--build=#{buildpath}/ngs-sdk-build\"",
+ "system \"make\"",
+ "system \"make\", \"install\""
+ ],
+ "version": "2.9.3",
+ "file": "sratoolkit.rb"
+} \ No newline at end of file
diff --git a/homebrew/sratoolkit/.make.sh-auto b/homebrew/sratoolkit/.make.sh-auto
new file mode 100644
index 000000000..85d5f6d92
--- /dev/null
+++ b/homebrew/sratoolkit/.make.sh-auto
@@ -0,0 +1,7 @@
+pkg:setup
+ngs_sdk_prefix = buildpath/"ngs-sdk-prefix"
+resource("ngs-sdk").stage do
+cd "ngs-sdk"
+pkg:configure --build=#{buildpath}/ngs-sdk-build
+make
+make DESTDIR=${PKG_DEST} install
diff --git a/homebrew/sratoolkit/_metadata/description b/homebrew/sratoolkit/_metadata/description
new file mode 100644
index 000000000..eddbced45
--- /dev/null
+++ b/homebrew/sratoolkit/_metadata/description
@@ -0,0 +1 @@
+Data tools for INSDC Sequence Read Archive
diff --git a/homebrew/sratoolkit/_metadata/homepage b/homebrew/sratoolkit/_metadata/homepage
new file mode 100644
index 000000000..078b728b2
--- /dev/null
+++ b/homebrew/sratoolkit/_metadata/homepage
@@ -0,0 +1 @@
+https://github.com/ncbi/sra-tools
diff --git a/homebrew/sratoolkit/_metadata/name b/homebrew/sratoolkit/_metadata/name
new file mode 100644
index 000000000..891c9b194
--- /dev/null
+++ b/homebrew/sratoolkit/_metadata/name
@@ -0,0 +1 @@
+Sratoolkit
diff --git a/homebrew/sratoolkit/_metadata/version b/homebrew/sratoolkit/_metadata/version
new file mode 100644
index 000000000..4db4b0359
--- /dev/null
+++ b/homebrew/sratoolkit/_metadata/version
@@ -0,0 +1 @@
+2.9.3
diff --git a/homebrew/sratoolkit/download.sh b/homebrew/sratoolkit/download.sh
new file mode 100755
index 000000000..2f7a97d7b
--- /dev/null
+++ b/homebrew/sratoolkit/download.sh
@@ -0,0 +1 @@
+wget https://github.com/ncbi/sra-tools/archive/2.9.3.tar.gz \ No newline at end of file