opt/cryptsetup/Pkgfile

27 lines
664 B
Plaintext
Raw Normal View History

2006-02-23 16:26:10 +01: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 16:26:10 +01:00
name=cryptsetup
2024-03-08 13:03:38 +01:00
version=2.7.1
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() {
2021-01-27 12:57:30 +01:00
cd $name-$version
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
2021-01-27 12:57:30 +01:00
install -d $PKG/sbin
mv $PKG/{usr/sbin,sbin}/cryptsetup.static
2006-02-23 16:26:10 +01:00
}