Permalink
Browse files

Add cryptsetup package.

  • Loading branch information...
1 parent 2247aed commit 863450eeb2180250f89081cb5c2c4c7259a3fd48 @cmair cmair committed Mar 25, 2013
Showing with 49 additions and 0 deletions.
  1. +21 −0 packages/cryptsetup/build
  2. +9 −0 packages/cryptsetup/install
  3. +8 −0 packages/cryptsetup/installdev
  4. +11 −0 packages/cryptsetup/meta
View
21 packages/cryptsetup/build
@@ -0,0 +1,21 @@
+#!/bin/sh
+
+. config/options
+get_meta $1
+
+$SCRIPTS/build linux
+
+cd $BUILD/$1*
+
+# sed -i src/Makefile 's/
+
+do_configure                           \
+       --with-crypto_backend=openssl   \
+       --disable-veritysetup           \
+       LIBS=-lintl
+
+make
+make_install
+
+mkdir -p .install/lib
+mkdir -p .install/sbin
View
9 packages/cryptsetup/install
@@ -0,0 +1,9 @@
+#!/bin/sh
+
+. config/options
+get_meta $1
+
+cd $BUILD/$1*
+
+do_install usr/lib
+do_install usr/sbin
View
8 packages/cryptsetup/installdev
@@ -0,0 +1,8 @@
+#!/bin/sh
+
+. config/options
+get_meta $1
+
+cd $PKG_BUILD_DIR
+
+do_installdev usr/include
View
11 packages/cryptsetup/meta
@@ -0,0 +1,11 @@
+PKG_NAME=cryptsetup
+PKG_VERSION=1.6.0
+PKG_URL="http://cryptsetup.googlecode.com/files/cryptsetup-${PKG_VERSION}.tar.bz2"
+PKG_REV=1
+PKG_RUN_DEPENDS="$TARGET_LIBC popt"
+PKG_BUILD_DEPENDS="toolchain util-linux-ng LVM popt"
+PKG_REQUIRES_USE="LVM:cryptsetup"
+PKG_PRIORITY=optional
+PKG_SECTION=system
+PKG_SHORTDESC="cryptsetup for Linux"
+PKG_LONGDESC="Setup virtual encryption devices under dm-crypt Linux"

0 comments on commit 863450e

Please sign in to comment.