From 835144aa57141672c81654c31168ab9ca18a612b Mon Sep 17 00:00:00 2001 From: Stephan Raue Date: Thu, 24 May 2012 17:00:53 +0200 Subject: [PATCH] yenc: cleanup build and install scripts, dont use 'easy_install', dont depend on 'distribute' Signed-off-by: Stephan Raue --- packages/python/system/yenc/build | 2 +- packages/python/system/yenc/meta | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/packages/python/system/yenc/build b/packages/python/system/yenc/build index 4490958bc2..285d2998d2 100755 --- a/packages/python/system/yenc/build +++ b/packages/python/system/yenc/build @@ -28,6 +28,6 @@ export LDFLAGS="$LDFLAGS -L$SYSROOT_PREFIX/usr/lib -L$SYSROOT_PREFIX/lib" cd $PKG_BUILD python setup.py build --cross-compile -python setup.py install -O0 --no-compile --prefix /usr --root .install +python setup.py install --root=./.install --prefix=/usr rm -rf .install/usr/bin diff --git a/packages/python/system/yenc/meta b/packages/python/system/yenc/meta index 5eb5bceb00..2860214b67 100644 --- a/packages/python/system/yenc/meta +++ b/packages/python/system/yenc/meta @@ -1,4 +1,4 @@ -################################################################################ +BB################################################################################ # This file is part of OpenELEC - http://www.openelec.tv # Copyright (C) 2009-2012 Stephan Raue (stephan@openelec.tv) # @@ -25,8 +25,8 @@ PKG_ARCH="any" PKG_LICENSE="OSS" PKG_SITE="http://www.golug.it/yenc.html" PKG_URL="http://www.golug.it/pub/yenc/$PKG_NAME-$PKG_VERSION.tar.gz" -PKG_DEPENDS="Python distribute" -PKG_BUILD_DEPENDS="toolchain Python distribute distutilscross" +PKG_DEPENDS="Python" +PKG_BUILD_DEPENDS="toolchain Python distutilscross" PKG_PRIORITY="optional" PKG_SECTION="python/system" PKG_SHORTDESC="yenc: a fairly simple module, it provide only raw yEnc encoding/decoding with builitin crc32 calculation."