diff options
author | Matt Housh <jaeger@crux.ninja> | 2022-08-18 10:23:49 -0500 |
---|---|---|
committer | Matt Housh <jaeger@crux.ninja> | 2022-08-18 10:23:49 -0500 |
commit | 000f4a4ce15ea18c6705a7b4d13940a1296ea746 (patch) | |
tree | 254e4c6092ebb11dc9134bf2bf893a5146f21950 /libnvme | |
parent | 02049c122cfe24ce649ea7fa13e014e243cae01e (diff) | |
download | opt-000f4a4ce15ea18c6705a7b4d13940a1296ea746.tar.gz opt-000f4a4ce15ea18c6705a7b4d13940a1296ea746.tar.xz |
libnvme: initial import, version 1.1
Diffstat (limited to 'libnvme')
-rw-r--r-- | libnvme/.footprint | 25 | ||||
-rw-r--r-- | libnvme/.md5sum | 1 | ||||
-rw-r--r-- | libnvme/.signature | 5 | ||||
-rw-r--r-- | libnvme/Pkgfile | 17 |
4 files changed, 48 insertions, 0 deletions
diff --git a/libnvme/.footprint b/libnvme/.footprint new file mode 100644 index 000000000..a871cd8e8 --- /dev/null +++ b/libnvme/.footprint @@ -0,0 +1,25 @@ +drwxr-xr-x root/root usr/ +drwxr-xr-x root/root usr/include/ +-rw-r--r-- root/root usr/include/libnvme-mi.h +-rw-r--r-- root/root usr/include/libnvme.h +drwxr-xr-x root/root usr/include/nvme/ +-rw-r--r-- root/root usr/include/nvme/api-types.h +-rw-r--r-- root/root usr/include/nvme/fabrics.h +-rw-r--r-- root/root usr/include/nvme/filters.h +-rw-r--r-- root/root usr/include/nvme/ioctl.h +-rw-r--r-- root/root usr/include/nvme/linux.h +-rw-r--r-- root/root usr/include/nvme/log.h +-rw-r--r-- root/root usr/include/nvme/mi.h +-rw-r--r-- root/root usr/include/nvme/tree.h +-rw-r--r-- root/root usr/include/nvme/types.h +-rw-r--r-- root/root usr/include/nvme/util.h +drwxr-xr-x root/root usr/lib/ +lrwxrwxrwx root/root usr/lib/libnvme-mi.so -> libnvme-mi.so.1 +lrwxrwxrwx root/root usr/lib/libnvme-mi.so.1 -> libnvme-mi.so.1.1.0 +-rwxr-xr-x root/root usr/lib/libnvme-mi.so.1.1.0 +lrwxrwxrwx root/root usr/lib/libnvme.so -> libnvme.so.1 +lrwxrwxrwx root/root usr/lib/libnvme.so.1 -> libnvme.so.1.1.0 +-rwxr-xr-x root/root usr/lib/libnvme.so.1.1.0 +drwxr-xr-x root/root usr/lib/pkgconfig/ +-rw-r--r-- root/root usr/lib/pkgconfig/libnvme-mi.pc +-rw-r--r-- root/root usr/lib/pkgconfig/libnvme.pc diff --git a/libnvme/.md5sum b/libnvme/.md5sum new file mode 100644 index 000000000..e75e810a3 --- /dev/null +++ b/libnvme/.md5sum @@ -0,0 +1 @@ +97657453d114ab7734af2d4410085743 libnvme-1.1.tar.gz diff --git a/libnvme/.signature b/libnvme/.signature new file mode 100644 index 000000000..afa7c80d3 --- /dev/null +++ b/libnvme/.signature @@ -0,0 +1,5 @@ +untrusted comment: verify with /etc/ports/opt.pub +RWSE3ohX2g5d/bZMBC01LOAYeHHlcdoLuVMjqznFPSgj00JMosoqJI1LOyaG3eIS5Qd3TjN9Fd1DlHhdZz40ZR3HjZyKkHQazgg= +SHA256 (Pkgfile) = b5e4ab747b27686462c9c5726d70f34f1c53d2c88554481de18d83f7dfa892fa +SHA256 (.footprint) = 1244e3eacf2bf3403615329a6e2ec0811e74d3f7923095c836e8c5dd9845c1ba +SHA256 (libnvme-1.1.tar.gz) = d000181356513733671409c747c88826155b60f45f76e7289d6bbf27a8f851b0 diff --git a/libnvme/Pkgfile b/libnvme/Pkgfile new file mode 100644 index 000000000..cdc977fb9 --- /dev/null +++ b/libnvme/Pkgfile @@ -0,0 +1,17 @@ +# Description: C library for NVM Express on Linux +# URL: https://github.com/linux-nvme/libnvme +# Maintainer: Matt Housh, jaeger at crux dot ninja +# Depends on: meson ninja json-c + +name=libnvme +version=1.1 +release=1 +source=(https://github.com/linux-nvme/$name/archive/v$version/$name-$version.tar.gz) + +build() { + meson setup $name-$version build \ + --prefix=/usr \ + --buildtype=plain + meson compile -C build + DESTDIR=$PKG meson install -C build +} |