wok-6.x diff mingw32-runtime-headers/receipt @ rev 4058

Fix missing pth-dev package
author Christophe Lincoln <pankso@slitaz.org>
date Thu Sep 10 00:14:35 2009 +0200 (2009-09-10)
parents 589a78b28bb2
children d1768332cee0
line diff
     1.1 --- a/mingw32-runtime-headers/receipt	Sat Sep 05 13:24:03 2009 +0200
     1.2 +++ b/mingw32-runtime-headers/receipt	Thu Sep 10 00:14:35 2009 +0200
     1.3 @@ -11,15 +11,20 @@
     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 +	cp -a profile/*.h _pkg$MINGW32_ROOT/include
    1.24  }
    1.25  
    1.26  # Rules to gen a SliTaz package suitable for Tazpkg.
    1.27 @@ -27,5 +32,4 @@
    1.28  {
    1.29  	mkdir -p $fs
    1.30  	cp -a $_pkg/* $fs
    1.31 -	ln -s . $fs/usr/lib/$MINGW32_TARGET/usr
    1.32  }