yenc: cleanup build and install scripts, dont use 'easy_install', dont depend on 'distribute'

Signed-off-by: Stephan Raue <stephan@openelec.tv>
This commit is contained in:
Stephan Raue 2012-05-24 17:00:53 +02:00
parent eaf552095e
commit 835144aa57
2 changed files with 4 additions and 4 deletions

View File

@ -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

View File

@ -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."