ecryptfs-utils: fix ecryptfs-utils-python cross compile
This commit is contained in:
parent
63cbe9dba2
commit
59e6d19f05
1 changed files with 3 additions and 11 deletions
|
@ -1,7 +1,7 @@
|
|||
# Template file for 'ecryptfs-utils'
|
||||
pkgname=ecryptfs-utils
|
||||
version=108
|
||||
revision=2
|
||||
revision=3
|
||||
lib32disabled=yes
|
||||
build_style=gnu-configure
|
||||
configure_args="--sbindir=/usr/bin
|
||||
|
@ -13,17 +13,12 @@ depends="gettext"
|
|||
_desc="Ecryptfs cryptographic filesystem"
|
||||
short_desc="${_desc} - utilities"
|
||||
maintainer="Juan RP <xtraeme@voidlinux.eu>"
|
||||
license="GPL-3"
|
||||
license="GPL-2"
|
||||
homepage="http://ecryptfs.org/"
|
||||
distfiles="http://launchpad.net/ecryptfs/trunk/${version}/+download/${pkgname}_${version}.orig.tar.gz"
|
||||
checksum=52838b1ad41113ba88a4318b19af10cf307100c6b3f62c608998d40312fbd7dd
|
||||
|
||||
CPPFLAGS="-D_FILE_OFFSET_BITS=64"
|
||||
|
||||
if [ "$CROSS_BUILD" ]; then
|
||||
# XXX disable python subpkg for now
|
||||
configure_args+=" --disable-pywrap"
|
||||
fi
|
||||
CPPFLAGS="-D_FILE_OFFSET_BITS=64 -I${XBPS_CROSS_BASE}/usr/include/python2.7"
|
||||
|
||||
pre_configure() {
|
||||
NOCONFIGURE=1 ./autogen.sh
|
||||
|
@ -56,8 +51,6 @@ libecryptfs-devel_package() {
|
|||
}
|
||||
}
|
||||
|
||||
if [ -z "$CROSS_BUILD" ]; then
|
||||
|
||||
ecryptfs-utils-python_package() {
|
||||
lib32disabled=yes
|
||||
depends="python"
|
||||
|
@ -67,4 +60,3 @@ ecryptfs-utils-python_package() {
|
|||
}
|
||||
}
|
||||
|
||||
fi
|
||||
|
|
Loading…
Reference in a new issue