opt/cryptsetup/Pkgfile

25 lines
646 B
Plaintext
Raw Normal View History

2006-02-23 16:26:10 +01:00
# Description: user-friendly dm-crypt/LUKS interface
2017-01-26 23:26:26 +01:00
# URL: https://gitlab.com/cryptsetup/cryptsetup
2012-06-20 15:50:39 +02:00
# Maintainer: Thomas Penteker, tek at serverop dot de
# Packager: Tilman Sauerbeck, tilman at crux dot nu
2019-01-10 23:17:03 +01:00
# Depends on: libdevmapper, libgcrypt, popt json-c
2006-02-23 16:26:10 +01:00
name=cryptsetup
2019-03-21 23:09:28 +01:00
version=2.1.0
2011-11-20 15:56:12 +01:00
release=1
source=(https://kernel.org/pub/linux/utils/$name/v${version%.*}/$name-$version.tar.xz)
2006-02-23 16:26:10 +01:00
build() {
cd $name-$version
2013-12-02 13:49:55 +01:00
LIBS="-lpthread" ./configure \
--prefix=/usr \
--disable-nls \
--enable-static-cryptsetup
2006-02-23 16:26:10 +01:00
make
make DESTDIR=$PKG install
install -d $PKG/sbin
mv $PKG/{usr/sbin,sbin}/cryptsetup.static
2006-02-23 16:26:10 +01:00
}