2006-02-23 15:26:10 +00:00
|
|
|
# Description: user-friendly dm-crypt/LUKS interface
|
2021-01-27 12:57:30 +01:00
|
|
|
# URL: https://gitlab.com/cryptsetup/cryptsetup
|
|
|
|
# Maintainer: CRUX System Team, core-ports at crux dot nu
|
|
|
|
# Depends on: libdevmapper openssl popt json-c
|
2006-02-23 15:26:10 +00:00
|
|
|
|
2007-05-07 11:23:17 +02: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
|
2020-06-21 20:21:42 +10:00
|
|
|
source=(https://www.kernel.org/pub/linux/utils/$name/v${version%.*}/$name-$version.tar.xz)
|
2006-02-23 15:26:10 +00:00
|
|
|
|
|
|
|
build() {
|
2021-01-27 12:57:30 +01:00
|
|
|
cd $name-$version
|
2008-08-09 01:46:57 +02:00
|
|
|
|
2021-01-27 12:57:30 +01:00
|
|
|
./configure \
|
|
|
|
--prefix=/usr \
|
|
|
|
--disable-nls \
|
|
|
|
--enable-static-cryptsetup
|
|
|
|
make
|
|
|
|
make DESTDIR=$PKG install
|
2009-08-18 20:59:40 +02:00
|
|
|
|
2021-01-27 12:57:30 +01:00
|
|
|
install -d $PKG/sbin
|
|
|
|
mv $PKG/{usr/sbin,sbin}/cryptsetup.static
|
2006-02-23 15:26:10 +00:00
|
|
|
}
|