wok diff mingw32-gcc-c/receipt @ rev 15080

libmatchbox: update bdeps
author Pascal Bellard <pascal.bellard@slitaz.org>
date Tue Aug 13 17:56:32 2013 +0000 (2013-08-13)
parents 4c16797dce28
children 036b997ec7e1
line diff
     1.1 --- a/mingw32-gcc-c/receipt	Tue Jun 12 18:52:42 2012 +0200
     1.2 +++ b/mingw32-gcc-c/receipt	Tue Aug 13 17:56:32 2013 +0000
     1.3 @@ -6,8 +6,7 @@
     1.4  CATEGORY="development"
     1.5  SHORT_DESC="MinGW32 gcc, for the C language only."
     1.6  MAINTAINER="rcx@zoominternet.net"
     1.7 -DEPENDS="glibc-base mingw32-binutils mingw32-w32api-headers mingw32-runtime-headers"
     1.8 -BUILD_DEPENDS="slitaz-toolchain bison flex mingw32-binutils mingw32-runtime-headers mingw32-w32api-headers"
     1.9 +LICENSE="GPL2"
    1.10  TARBALL="$SOURCE-$VERSION-src.tar.gz"
    1.11  WEB_SITE="http://www.mingw.org/"
    1.12  MINGW32_URL="$SF_MIRROR/mingw"
    1.13 @@ -15,6 +14,9 @@
    1.14  MINGW32_ID="i586-pc-mingw32"
    1.15  TAGS="compiler C"
    1.16  
    1.17 +DEPENDS="glibc-base mingw32-binutils mingw32-w32api-headers mingw32-runtime-headers"
    1.18 +BUILD_DEPENDS="slitaz-toolchain bison flex mingw32-binutils mingw32-runtime-headers mingw32-w32api-headers"
    1.19 +
    1.20  # Configuration only needs included if we're in the build/wok environment
    1.21  if [ -e $WOK/mingw32-toolchain/stuff/mingw32.conf ] ; then
    1.22  	. $WOK/mingw32-toolchain/stuff/mingw32.conf
    1.23 @@ -46,17 +48,17 @@
    1.24  		--enable-sjlj-exceptions \
    1.25  		$CONFIGURE_ARGS &&
    1.26  	make CFLAGS="-O2 -fomit-frame-pointer" LDFLAGS="-s"  &&
    1.27 -	make DESTDIR=$src/_pkg install
    1.28 +	make DESTDIR=$DESTDIR install
    1.29  }
    1.30  
    1.31  # Rules to gen a SliTaz package suitable for Tazpkg.
    1.32  genpkg_rules()
    1.33  {
    1.34  	mkdir -p $fs/usr
    1.35 -	cp -a $_pkg/usr/bin $fs/usr
    1.36 +	cp -a $install/usr/bin $fs/usr
    1.37  	# do not need to copy lib/libiberty.a
    1.38  	mkdir -p $fs/usr/lib
    1.39 -	cp -a $_pkg/usr/lib/gcc $fs/usr/lib
    1.40 +	cp -a $install/usr/lib/gcc $fs/usr/lib
    1.41  }
    1.42  
    1.43  # Rules to setup after installation