# Description: user-friendly dm-crypt/LUKS interface # URL: https://gitlab.com/cryptsetup/cryptsetup # Maintainer: Thomas Penteker, tek at serverop dot de # Packager: Tilman Sauerbeck, tilman at crux dot nu # Depends on: libdevmapper, libgcrypt, popt json-c name=cryptsetup version=2.1.0 release=1 source=(https://kernel.org/pub/linux/utils/$name/v${version%.*}/$name-$version.tar.xz) build() { cd $name-$version LIBS="-lpthread" ./configure \ --prefix=/usr \ --disable-nls \ --enable-static-cryptsetup make make DESTDIR=$PKG install install -d $PKG/sbin mv $PKG/{usr/sbin,sbin}/cryptsetup.static }