void-packages/srcpkgs/tc-play/template

25 lines
807 B
Bash

# Template file for 'tc-play'
pkgname=tc-play
version=3.3
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=ad53cd814a23b4f61a1b2b6dc2539624ffb550504c400c45cbd8cd1da4c7d90a
pre_build() {
vsed -i Makefile.classic -e"s; -o tcplay; ${LDFLAGS}&;"
}
post_install() {
vlicense LICENSE
}