wok-undigest rev 703

mingw32-w32api: no make install
author Pascal Bellard <pascal.bellard@slitaz.org>
date Tue May 29 13:10:37 2012 +0200 (2012-05-29)
parents 8b4883222074
children 35c1c5f9fd95
files mingw32-w32api/receipt
line diff
     1.1 --- a/mingw32-w32api/receipt	Tue May 29 12:38:21 2012 +0200
     1.2 +++ b/mingw32-w32api/receipt	Tue May 29 13:10:37 2012 +0200
     1.3 @@ -32,11 +32,13 @@
     1.4  	
     1.5  	# NOTE: DESTDIR not handled correctly; have to fudge --prefix
     1.6  	$src/configure \
     1.7 -		--prefix=$src/_pkg/usr \
     1.8 +		--prefix=/usr \
     1.9  		--host=$MINGW32_TARGET \
    1.10  		--build=$BUILD_HOST &&
    1.11  	make CFLAGS="-O2 -mms-bitfields -march=${TARGET_CPU-i386}" LDFLAGS="-s" &&
    1.12 -	make DESTDIR=$src/_pkg install
    1.13 +	find $src -name '*a' | while read lib; do
    1.14 +		cp -a $lib $DESTDIR/usr/lib
    1.15 +	done
    1.16  }
    1.17  
    1.18  # Rules to gen a SliTaz package suitable for Tazpkg.