24 lines
940 B
Text
24 lines
940 B
Text
# Template file for 'cryptsetup'
|
|
pkgname=cryptsetup
|
|
version=1.6.0
|
|
revision=1
|
|
subpackages="libcryptsetup cryptsetup-devel"
|
|
build_style=gnu-configure
|
|
configure_args="--enable-pwquality"
|
|
makedepends="pkg-config popt-devel libuuid-devel device-mapper-devel
|
|
libgcrypt-devel libpwquality-devel"
|
|
short_desc="Setup virtual encryption devices under dm-crypt Linux"
|
|
maintainer="Juan RP <xtraeme@gmail.com>"
|
|
license="GPL-3"
|
|
homepage="http://code.google.com/p/cryptsetup"
|
|
distfiles="https://cryptsetup.googlecode.com/files/$pkgname-$version.tar.bz2"
|
|
checksum=dd9686fce5d3276b2eb2ac40d513a9b64850af8fff881442f2cfe87257ba2406
|
|
|
|
if [ -n "$XBPS_CROSS_TRIPLET" ]; then
|
|
makedepends="automake gettext-devel ${makedepends}"
|
|
crossmakedepends="popt-devel libuuid-devel device-mapper-devel libgcrypt-devel libpwquality-devel"
|
|
configure_args="${configure_args} PKG_CONFIG_LIBDIR=/usr/$XBPS_CROSS_TRIPLET/lib/pkgconfig"
|
|
pre_configure() {
|
|
autoreconf -fi
|
|
}
|
|
fi
|