Files
ports/main/cryptsetup/spkgbuild
2023-02-09 17:51:53 +00:00

20 lines
472 B
Plaintext
Executable File

# description : Used to set up transparent encryption of block devices using the kernel crypto API
# depends : libgcrypt nettle nss openssl popt json-c lvm2
name=cryptsetup
version=2.6.1
release=1
source="https://www.kernel.org/pub/linux/utils/cryptsetup/v${version%.*}/$name-$version.tar.xz"
build() {
cd $name-$version
./configure \
--prefix=/usr \
--with-crypto_backend=openssl \
--disable-asciidoc \
--disable-ssh-token
make
make DESTDIR=$PKG install
}