hd-idle: 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:09:13 +01:00
parent 92863f2ea1
commit 6451a2d2c2

View File

@ -26,6 +26,7 @@ PKG_ARCH="any"
PKG_LICENSE="GPL"
PKG_SITE="http://hd-idle.sourceforge.net/"
PKG_URL="http://downloads.sourceforge.net/project/hd-idle/${PKG_NAME}-${PKG_VERSION}.tgz"
PKG_SOURCE_DIR="$PKG_NAME"
PKG_DEPENDS=""
PKG_BUILD_DEPENDS_TARGET="toolchain"
PKG_PRIORITY="optional"
@ -36,6 +37,3 @@ PKG_LONGDESC="hd-idle is a utility program for spinning-down external disks afte
PKG_IS_ADDON="no"
PKG_AUTORECONF="no"
post_unpack() {
mv $ROOT/$BUILD/$PKG_NAME $ROOT/$BUILD/$PKG_NAME-$PKG_VERSION
}