void-packages/srcpkgs/bcache-tools/template
2016-12-23 12:21:19 +01:00

27 lines
749 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.eu>"
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
}