Files
ports/core/cryptsetup/spkgbuild
2019-02-28 12:15:43 +08:00

20 lines
601 B
Plaintext
Executable File

# description : Used to set up transparent encryption of block devices using the kernel crypto API
# homepage : https://gitlab.com/cryptsetup/cryptsetup/
# maintainer : emmett1, emmett1.2miligrams at gmail.com
# depends : libgcrypt nettle nss openssl popt json-c
name=cryptsetup
version=2.1.0
release=1
source=(https://www.kernel.org/pub/linux/utils/cryptsetup/v${version::3}/$name-$version.tar.xz)
md5sum=(41d8b985ef69242852b93e95d53e8e28)
build() {
cd $name-$version
./configure --prefix=/usr \
--disable-nls \
--with-crypto_backend=openssl
make
make DESTDIR=$PKG install
}