libgcrypt: dont install libgcrypt-config to $TOOLCHAIN/bin, this file should be in $SYSROOT_PREFIX/usr/bin

Signed-off-by: Stephan Raue <stephan@openelec.tv>
This commit is contained in:
Stephan Raue 2016-01-07 03:26:18 +01:00
parent f70c77733f
commit acd9b9df60

View File

@ -35,8 +35,8 @@ PKG_AUTORECONF="yes"
PKG_CONFIGURE_OPTS_TARGET="--disable-asm --with-gnu-ld" PKG_CONFIGURE_OPTS_TARGET="--disable-asm --with-gnu-ld"
post_makeinstall_target() { post_makeinstall_target() {
sed -e "s:\(['= ]\)/usr:\\1$SYSROOT_PREFIX/usr:g" -i src/libgcrypt-config sed -e "s:\(['= ]\)\"/usr:\\1\"$SYSROOT_PREFIX/usr:g" -i src/$PKG_NAME-config
cp src/libgcrypt-config $ROOT/$TOOLCHAIN/bin cp src/$PKG_NAME-config $SYSROOT_PREFIX/usr/bin
rm -rf $INSTALL/usr/bin rm -rf $INSTALL/usr/bin
} }