wok diff mingw32-w32api-headers/receipt @ rev 7801
Up task (1.9.3)
author | Paul Issott <paul@slitaz.org> |
---|---|
date | Fri Dec 24 13:39:13 2010 +0000 (2010-12-24) |
parents | 05b5a901936b |
children | d1768332cee0 |
line diff
1.1 --- a/mingw32-w32api-headers/receipt Thu Sep 03 21:46:00 2009 +0200 1.2 +++ b/mingw32-w32api-headers/receipt Fri Dec 24 13:39:13 2010 +0000 1.3 @@ -11,15 +11,19 @@ 1.4 TARBALL="$SOURCE-$VERSION-src.tar.gz" 1.5 WEB_SITE="http://www.mingw.org/" 1.6 WGET_URL="$SF_MIRROR/mingw/$TARBALL" 1.7 -MINGW32_TARGET="i586-pc-mingw32" 1.8 + 1.9 +# Configuration only needs included if we're in the build/wok environment 1.10 +if [ -e $WOK/mingw32-toolchain/stuff/mingw32.conf ] ; then 1.11 + . $WOK/mingw32-toolchain/stuff/mingw32.conf 1.12 +fi 1.13 1.14 # Rules to configure and make the package. 1.15 compile_rules() 1.16 { 1.17 cd $src 1.18 1.19 - mkdir -p _pkg/usr/lib/$MINGW32_TARGET 1.20 - cp -a include _pkg/usr/lib/$MINGW32_TARGET 1.21 + mkdir -p _pkg$MINGW32_ROOT 1.22 + cp -a include _pkg$MINGW32_ROOT 1.23 } 1.24 1.25 # Rules to gen a SliTaz package suitable for Tazpkg.