2006-02-23 15:26:10 +00:00
|
|
|
# Description: user-friendly dm-crypt/LUKS interface
|
2021-03-12 18:14:45 +01:00
|
|
|
# URL: https://gitlab.com/cryptsetup/cryptsetup
|
|
|
|
# Maintainer: CRUX System Team, core-ports at crux dot nu
|
2021-12-13 18:52:06 +01:00
|
|
|
# Depends on: json-c libdevmapper openssl popt
|
2006-02-23 15:26:10 +00:00
|
|
|
|
2007-05-07 11:23:17 +02:00
|
|
|
name=cryptsetup
|
2022-11-29 17:30:42 +01:00
|
|
|
version=2.6.0
|
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
|
|
|
|
2022-08-01 12:20:51 +02:00
|
|
|
prt-get isinst asciidoctor || PKGMK_CRYPTSETUP+=' --disable-asciidoc'
|
2022-07-30 23:02:24 +02:00
|
|
|
|
|
|
|
./configure $PKGMK_CRYPTSETUP \
|
2021-01-27 12:57:30 +01:00
|
|
|
--prefix=/usr \
|
|
|
|
--disable-nls \
|
2021-08-24 11:22:31 +02:00
|
|
|
--enable-static-cryptsetup \
|
|
|
|
--disable-ssh-token
|
2021-01-27 12:57:30 +01:00
|
|
|
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
|
|
|
}
|