Merge pull request #2730 from stpx/ecryptfs

ecryptfs-utils: fix ecryptfs-utils-python cross compile
This commit is contained in:
Juan RP 2015-10-12 09:04:12 +02:00
commit 1584b09b51

View File

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