diff --git a/packages/python/security/pycrypto/build b/packages/python/security/pycrypto/build index a5c7622968..69832db409 100755 --- a/packages/python/security/pycrypto/build +++ b/packages/python/security/pycrypto/build @@ -27,4 +27,5 @@ export LDFLAGS="$LDFLAGS -L$SYSROOT_PREFIX/usr/lib -L$SYSROOT_PREFIX/lib" cd $PKG_BUILD -python setup.py build --cross-compile bdist_egg --exclude-source-files +python setup.py build --cross-compile +python setup.py install --root=./.install --prefix=/usr diff --git a/packages/python/security/pycrypto/install b/packages/python/security/pycrypto/install index f113043c99..85a37ef61d 100755 --- a/packages/python/security/pycrypto/install +++ b/packages/python/security/pycrypto/install @@ -22,9 +22,4 @@ . config/options $1 -PKG_SRC_DIR=`ls -d $PKG_BUILD` - -PYTHON_IMAGE_DIR="`ls -d $INSTALL/usr/lib/python*`" -export PYTHONPATH="$PYTHON_IMAGE_DIR/site-packages" - -$TOOLCHAIN/bin/easy_install --exclude-scripts --zip-ok --no-deps --quiet --prefix=$INSTALL/usr $PKG_SRC_DIR/dist/*.egg +cp -PR $PKG_BUILD/.install/* $INSTALL