void-packages/srcpkgs/bcache-tools/template

28 lines
750 B
Bash

# Template file for 'bcache-tools'
pkgname=bcache-tools
version=1.0.8
revision=1
build_style=gnu-makefile
hostmakedepends="pkg-config"
makedepends="libblkid-devel"
short_desc="User space tools for the bcache hybrid storage system"
maintainer="Enno Boland <gottox@voidlinux.org>"
license="GPL-3"
homepage="https://bcache.evilpiepirate.org/"
distfiles="https://github.com/g2p/${pkgname}/archive/v${version}.tar.gz"
checksum=d56923936f37287efc57a46315679102ef2c86cd0be5874590320acd48c1201c
CFLAGS="-I$XBPS_CROSS_BASE/usr/include/blkid"
pre_install() {
vmkdir usr/bin
vmkdir usr/sbin
vmkdir usr/lib
vmkdir lib/udev/rules.d
vmkdir usr/share/man/man8
}
post_install() {
mv $DESTDIR/usr/sbin/* $DESTDIR/usr/bin
mv $DESTDIR/lib/* $DESTDIR/usr/lib
}