aboutsummaryrefslogtreecommitdiffstats
path: root/testing/nvme-cli/APKBUILD
diff options
context:
space:
mode:
authorFlorian Heigl <fheigl@wartungsfenster.de>2016-02-02 12:53:22 +0000
committerNatanael Copa <ncopa@alpinelinux.org>2016-02-02 14:21:27 +0000
commit3fa4940871379a02489cd693a3d68a7b7dd65a72 (patch)
treea62c0c25e50c316e6e5e733fd52020a8e76c4feb /testing/nvme-cli/APKBUILD
parentb0964b3b8d3e454bdb8876874e9cfd9522a1ed02 (diff)
downloadaports-3fa4940871379a02489cd693a3d68a7b7dd65a72.tar.bz2
aports-3fa4940871379a02489cd693a3d68a7b7dd65a72.tar.xz
New package for NVMe cli, management tools for nvme* devices
Diffstat (limited to 'testing/nvme-cli/APKBUILD')
-rw-r--r--testing/nvme-cli/APKBUILD35
1 files changed, 35 insertions, 0 deletions
diff --git a/testing/nvme-cli/APKBUILD b/testing/nvme-cli/APKBUILD
new file mode 100644
index 0000000000..066c34cd92
--- /dev/null
+++ b/testing/nvme-cli/APKBUILD
@@ -0,0 +1,35 @@
+# Contributor: Florian Heigl <florian.heigl@gmail.com>
+# Maintainer: Florian Heigl <florian.heigl@gmail.com>
+pkgname=nvme-cli
+pkgver=0.3
+pkgrel=1
+pkgdesc="NVM-Express user space tooling for Linux"
+arch="all"
+url="https://github.com/linux-nvme/nvme-cli"
+license="GPL"
+depends=""
+makedepends="$depends_dev"
+provides="nvme-cli"
+subpackages="$pkgname-doc"
+source="$pkgname-$pkgver.tar.gz::https://github.com/linux-nvme/nvme-cli/archive/v${pkgver}.tar.gz"
+
+_builddir="$srcdir"/$pkgname-$pkgver
+
+# no patches just yet
+prepare() {
+ cd "$_builddir"
+}
+
+build() {
+ cd "$_builddir"
+ make PREFIX="/usr" || return 1
+}
+
+package() {
+ cd "$_builddir"
+ make PREFIX="/usr" DESTDIR="$pkgdir" install
+}
+
+md5sums="397445255b73a1159d3000974d38a098 nvme-cli-0.3.tar.gz"
+sha256sums="c631e90dd4d411cdb618b26bc36b06706e6f1f2d3db38874bcfe48f4bc15aac4 nvme-cli-0.3.tar.gz"
+sha512sums="91e85eb487991da24cb254abf0047004ab21bcc2be18a569a86476eac80ac7e0a677daebb1c157b5bc00a3518df728d65f66da0b20e240e1fd786b655a791045 nvme-cli-0.3.tar.gz"