void-packages/srcpkgs/kpartx/template

21 lines
701 B
Bash

# Template file for 'kpartx'
pkgname=kpartx
version=0.9.4
revision=1
build_wrksrc=kpartx
build_style=gnu-makefile
make_install_args="libudevdir=/usr/lib/udev bindir=/usr/bin"
makedepends="device-mapper-devel"
short_desc="Create device maps from partition tables"
maintainer="Leah Neukirchen <leah@vuxu.org>"
license="GPL-2.0-or-later"
homepage="http://christophe.varoqui.free.fr/"
distfiles="https://github.com/opensvc/multipath-tools/archive/refs/tags/${version}.tar.gz"
checksum=6ed3cf6e786da20a451d9747cbd4c5817815388b8fc8022d1074b3018479031d
LDFLAGS="-ldevmapper"
CFLAGS="-D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -DLIBDM_API_COOKIE -I../libmultipath"
do_configure() {
make -C .. config.mk
}