2018-04-24 20:39:35 +00:00
|
|
|
# Template file for 'ndctl'
|
|
|
|
pkgname=ndctl
|
2018-07-07 04:43:50 +00:00
|
|
|
version=61.2
|
2018-04-24 20:39:35 +00:00
|
|
|
revision=1
|
|
|
|
build_style=gnu-configure
|
|
|
|
hostmakedepends="asciidoc automake libtool pkg-config xmlto"
|
|
|
|
makedepends="eudev-libudev-devel json-c-devel libkmod-devel libuuid-devel"
|
|
|
|
short_desc="Utility library for managing libnvdimm"
|
|
|
|
maintainer="maxice8 <thinkabit.ukim@gmail.com>"
|
|
|
|
license="LGPL-2.1-only, GPL-2.0-only"
|
|
|
|
homepage="https://github.com/pmem/ndctl"
|
|
|
|
distfiles="https://github.com/pmem/ndctl/archive/v${version}.tar.gz"
|
2018-07-07 04:43:50 +00:00
|
|
|
checksum=2e15b6720729a09b162dd8112b9551a26442b2766b0c481d61915100037da93a
|
2018-04-24 20:39:35 +00:00
|
|
|
|
|
|
|
pre_configure() {
|
|
|
|
./autogen.sh
|
|
|
|
}
|
|
|
|
|
|
|
|
libndctl_package() {
|
|
|
|
short_desc+=" - ndctl library"
|
|
|
|
pkg_install() {
|
|
|
|
vmove "usr/lib/libndctl.so.*"
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
libdaxctl_package() {
|
|
|
|
short_desc+=" - daxctl library"
|
|
|
|
pkg_install() {
|
|
|
|
vmove "usr/lib/libdaxctl.so.*"
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
libndctl-devel_package() {
|
|
|
|
depends="libndctl-${version}_${revision}"
|
|
|
|
short_desc+=" - ndctl development files"
|
|
|
|
pkg_install() {
|
|
|
|
vmove usr/include/ndctl
|
|
|
|
vmove usr/lib/pkgconfig/libndctl.pc
|
|
|
|
vmove usr/lib/libndctl.so
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
libdaxctl-devel_package() {
|
|
|
|
depends="libdaxctl-${version}_${revision}"
|
|
|
|
short_desc+=" - daxctl development files"
|
|
|
|
pkg_install() {
|
|
|
|
vmove usr/include/daxctl
|
|
|
|
vmove usr/lib/pkgconfig/libdaxctl.pc
|
|
|
|
vmove usr/lib/libdaxctl.so
|
|
|
|
}
|
|
|
|
}
|