void-packages/srcpkgs/tc-play/template

24 lines
805 B
Bash

# Template file for 'tc-play'
pkgname=tc-play
version=2.0
revision=2
build_style=gnu-makefile
make_build_args="-f Makefile.classic PBKDF_BACKEND=gcrypt"
make_build_target="tcplay"
make_install_args="-f Makefile.classic PBKDF_BACKEND=gcrypt SBINDIR=/usr/bin"
make_install_target="install_program"
makedepends="device-mapper-devel libuuid-devel libgcrypt-devel"
short_desc="Free and simple TrueCrypt implementation based on dm-crypt"
maintainer="Leah Neukirchen <leah@vuxu.org>"
license="BSD-2-clause"
homepage="https://github.com/bwalex/tc-play"
distfiles="https://github.com/bwalex/${pkgname}/archive/v${version}.tar.gz"
checksum=0e17890f37e862746364b10bad62bbd9f3e2b2811a24b07df12eff266534e42d
pre_build() {
sed -i Makefile.classic -e"s; -o tcplay; ${LDFLAGS}&;"
}
post_install() {
vlicense LICENSE
}