opt/cryptsetup/Pkgfile

24 lines
576 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
2019-11-02 07:29:00 +01:00
# Maintainer: Thomas Penteker, tek at serverop dot de
2019-08-30 15:59:34 +02:00
# Depends on: libdevmapper openssl popt json-c
2006-02-23 16:26:10 +01:00
name=cryptsetup
2020-09-04 14:35:59 +02:00
version=2.3.4
2020-05-05 13:16:49 +02:00
release=1
source=(https://www.kernel.org/pub/linux/utils/$name/v${version%.*}/$name-$version.tar.xz)
2006-02-23 16:26:10 +01:00
build() {
cd $name-$version
2019-08-30 15:59:34 +02:00
./configure \
2013-12-02 13:49:55 +01:00
--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
}