diff options
-rw-r--r-- | testing/nvme-cli/APKBUILD | 35 |
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" |