summaryrefslogtreecommitdiff
path: root/manualPorts/cryptsetup/Pkgfile
diff options
context:
space:
mode:
authorErich Eckner <git@eckner.net>2019-01-05 18:13:47 +0100
committerErich Eckner <git@eckner.net>2019-01-05 18:13:47 +0100
commit10306be1c2df3e837f547fc62a3cb020c3df029f (patch)
tree4ccdca38fd8feff9a29209f8ff55f2f28252c468 /manualPorts/cryptsetup/Pkgfile
parent6c06f3867409fb4a6468a4cd871bc755c0a54dea (diff)
downloadcrux-ports-10306be1c2df3e837f547fc62a3cb020c3df029f.tar.xz
cryptsetup neu
Diffstat (limited to 'manualPorts/cryptsetup/Pkgfile')
-rw-r--r--manualPorts/cryptsetup/Pkgfile25
1 files changed, 25 insertions, 0 deletions
diff --git a/manualPorts/cryptsetup/Pkgfile b/manualPorts/cryptsetup/Pkgfile
new file mode 100644
index 0000000..e7055e6
--- /dev/null
+++ b/manualPorts/cryptsetup/Pkgfile
@@ -0,0 +1,25 @@
+# Description: user-friendly dm-crypt/LUKS interface
+# URL: https://gitlab.com/cryptsetup/cryptsetup
+# Maintainer: Erich Eckner, crux at eckner dot net
+# Contributor: Thomas Penteker, tek at serverop dot de
+# Packager: Tilman Sauerbeck, tilman at crux dot nu
+# Depends on: libdevmapper, libgcrypt, popt
+
+name=cryptsetup
+version=2.0.6
+release=1
+source=(https://kernel.org/pub/linux/utils/$name/v${version%.*}/$name-$version.tar.xz)
+
+build() {
+ cd $name-$version
+
+ LIBS="-lpthread" ./configure \
+ --prefix=/usr \
+ --disable-nls \
+ --enable-static-cryptsetup
+ make
+ make DESTDIR=$PKG install
+
+ install -d $PKG/sbin
+ mv $PKG/{usr/sbin,sbin}/cryptsetup.static
+}