vdr-live: replace post_unpack() with $PKG_SOURCE_DIR

Signed-off-by: Stephan Raue <stephan@openelec.tv>
This commit is contained in:
Stephan Raue 2013-12-05 01:05:04 +01:00
parent 801e51332a
commit 5291dfe951

View File

@ -25,6 +25,7 @@ PKG_ARCH="any"
PKG_LICENSE="GPL"
PKG_SITE="http://live.vdr-developer.org/en/index.php"
PKG_URL="http://live.vdr-developer.org/downloads/${PKG_NAME}-${PKG_VERSION}.tar.gz"
PKG_SOURCE_DIR="live-${PKG_VERSION}"
PKG_DEPENDS=""
PKG_BUILD_DEPENDS_TARGET="toolchain vdr tntnet pcre-host pcre"
PKG_PRIORITY="optional"
@ -33,7 +34,6 @@ PKG_SHORTDESC="vdr-live: the LIVE Interactive VDR Environment/"
PKG_LONGDESC="vdr-live allows a comfortable operation of VDR and some of its plugins trough a web interface"
PKG_IS_ADDON="no"
PKG_AUTORECONF="no"
VDR_DIR=$(basename $BUILD/vdr-[0-9]*)
@ -41,10 +41,6 @@ PKG_MAKE_OPTS_TARGET="VDRDIR=$ROOT/$BUILD/$VDR_DIR \
LIBDIR=\".\" \
LOCALEDIR=\"./locale\""
post_unpack() {
mv $ROOT/$BUILD/live-${PKG_VERSION} $ROOT/$BUILD/${PKG_NAME}-${PKG_VERSION}
}
pre_configure_target() {
export CFLAGS="$CFLAGS -fPIC -L$SYSROOT_PREFIX/usr/lib -L$SYSROOT_PREFIX/lib"
export CXXFLAGS="$CXXFLAGS -fPIC -L$SYSROOT_PREFIX/usr/lib -L$SYSROOT_PREFIX/lib"