mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2026-04-27 16:42:30 +02:00
40 lines
1.0 KiB
Plaintext
40 lines
1.0 KiB
Plaintext
# Maintainer: Breno Leitao <breno.leitao@gmail.com>
|
|
pkgname=ndctl
|
|
pkgver=57.1
|
|
pkgrel=0
|
|
pkgdesc="Utility library for managing the libnvdimm (non-volatile memory device) sub-system in the Linux kernel"
|
|
url="https://github.com/pmem/ndctl"
|
|
arch="all"
|
|
license="GPL"
|
|
depends="libuuid json-c kmod"
|
|
makedepends="autoconf automake libtool asciidoc xmlto kmod-dev
|
|
eudev-dev util-linux-dev json-c-dev linux-headers"
|
|
subpackages="$pkgname-doc"
|
|
source="$pkgname-$pkgver.tar.gz::https://github.com/pmem/$pkgname/archive/v$pkgver.tar.gz"
|
|
builddir="$srcdir"/$pkgname-$pkgver
|
|
|
|
prepare() {
|
|
default_prepare
|
|
cd "$builddir"
|
|
./autogen.sh
|
|
}
|
|
|
|
build() {
|
|
cd "$builddir"
|
|
./configure \
|
|
--build=$CBUILD \
|
|
--host=$CHOST \
|
|
--prefix=/usr \
|
|
--sysconfdir=/etc \
|
|
--mandir=/usr/share/man \
|
|
--localstatedir=/var
|
|
make
|
|
}
|
|
|
|
package() {
|
|
cd "$builddir"
|
|
make DESTDIR="$pkgdir" install
|
|
}
|
|
|
|
sha512sums="74e3c47574e7ef8ddb51d61e2c76cbb1564238b3d7b6da41294d7d46e7deef4758857fc671b7723aab16fc8bcea9b1acbfe35a19264c5d3567824b2fd713320a ndctl-57.1.tar.gz"
|