wok-undigest diff mingw32-runtime/receipt @ rev 705
mingw32-runtime: fix install
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Tue May 29 13:33:44 2012 +0200 (2012-05-29) |
parents | 5c9f3df7c006 |
children |
line diff
1.1 --- a/mingw32-runtime/receipt Sat May 28 18:09:06 2011 +0200 1.2 +++ b/mingw32-runtime/receipt Tue May 29 13:33:44 2012 +0200 1.3 @@ -26,17 +26,18 @@ 1.4 return 1 1.5 fi 1.6 1.7 + find $src -name 'Makefile*' | xargs sed -i "s|^inst_.*:= *|&$DESTDIR/|" 1.8 + mkdir -p $DESTDIR/usr/bin 1.9 rm -f -r $src/binutils 1.10 mkdir -p $SOURCE-$VERSION-build 1.11 cd $SOURCE-$VERSION-build 1.12 1.13 - # NOTE: DESTDIR not handled correctly; have to fudge --prefix 1.14 $src/configure \ 1.15 - --prefix=$src/_pkg/usr \ 1.16 + --prefix=/usr/$MINGW32_TARGET \ 1.17 --host=$MINGW32_TARGET \ 1.18 --build=$BUILD_HOST && 1.19 make CFLAGS="-O2 -mms-bitfields -march=${TARGET_CPU-i386} -I$MINGW32_ROOT/include" LDFLAGS="-s" && 1.20 - make DESTDIR=$src/_pkg install 1.21 + make install 1.22 } 1.23 1.24 # Rules to gen a SliTaz package suitable for Tazpkg.