vdr-control: 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:04:28 +01:00
parent 8c6667b5fb
commit 52f3b21a1a

View File

@ -25,6 +25,7 @@ PKG_ARCH="any"
PKG_LICENSE="GPL"
PKG_SITE="http://ricomp.de/vdr/"
PKG_URL="http://ricomp.de/vdr/${PKG_NAME}-${PKG_VERSION}.tgz"
PKG_SOURCE_DIR="control-${PKG_VERSION}"
PKG_DEPENDS=""
PKG_BUILD_DEPENDS_TARGET="toolchain vdr"
PKG_PRIORITY="optional"
@ -33,7 +34,6 @@ PKG_SHORTDESC="vdr control plugin"
PKG_LONGDESC="vdr control plugin"
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/control-${PKG_VERSION} $ROOT/$BUILD/${PKG_NAME}-${PKG_VERSION}
}
pre_configure_target() {
export CFLAGS="$CFLAGS -fPIC"
export CXXFLAGS="$CXXFLAGS -fPIC"