wok diff mingw32-gcc/receipt @ rev 15000

Add some GPL2 licenses
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sat Aug 10 17:00:38 2013 +0000 (2013-08-10)
parents ed5dd1053ab1
children ce30dcb0675a
line diff
     1.1 --- a/mingw32-gcc/receipt	Sat Apr 13 21:37:35 2013 +0200
     1.2 +++ b/mingw32-gcc/receipt	Sat Aug 10 17:00:38 2013 +0000
     1.3 @@ -6,11 +6,7 @@
     1.4  CATEGORY="development"
     1.5  SHORT_DESC="MinGW32 gcc, for C, C++, and Ada."
     1.6  MAINTAINER="rcx@zoominternet.net"
     1.7 -DEPENDS="glibc-base mingw32-binutils mingw32-w32api-headers \
     1.8 -mingw32-runtime-headers mingw32-w32api mingw32-runtime"
     1.9 -BUILD_DEPENDS="slitaz-toolchain bison flex mingw32-binutils \
    1.10 -mingw32-runtime-headers mingw32-w32api-headers mingw32-gcc-c \
    1.11 -mingw32-w32api mingw32-runtime"
    1.12 +LICENSE="GPL2"
    1.13  PROVIDE="mingw32-gcc-c"
    1.14  TARBALL="$SOURCE-$VERSION-src.tar.gz"
    1.15  EXTRA_SOURCE_FILES="gcc-g++-$VERSION-src.tar.gz gcc-ada-$VERSION-src.tar.gz"
    1.16 @@ -20,6 +16,12 @@
    1.17  MINGW32_ID="i586-pc-mingw32"
    1.18  TAGS="compiler C C++ ada"
    1.19  
    1.20 +DEPENDS="glibc-base mingw32-binutils mingw32-w32api-headers \
    1.21 +mingw32-runtime-headers mingw32-w32api mingw32-runtime"
    1.22 +BUILD_DEPENDS="slitaz-toolchain bison flex mingw32-binutils \
    1.23 +mingw32-runtime-headers mingw32-w32api-headers mingw32-gcc-c \
    1.24 +mingw32-w32api mingw32-runtime"
    1.25 +
    1.26  # Configuration only needs included if we're in the build/wok environment
    1.27  if [ -e $WOK/mingw32-toolchain/stuff/mingw32.conf ] ; then
    1.28  	. $WOK/mingw32-toolchain/stuff/mingw32.conf
    1.29 @@ -68,13 +70,13 @@
    1.30  genpkg_rules()
    1.31  {
    1.32  	mkdir -p $fs/usr/lib $fs$MINGW32_ROOT
    1.33 -	cp -a $_pkg$MINGW32_ROOT/* $fs$MINGW32_ROOT
    1.34 +	cp -a $install$MINGW32_ROOT/* $fs$MINGW32_ROOT
    1.35  	rm $fs$MINGW32_ROOT/lib/*.la
    1.36 -	cp -a $_pkg/usr/bin $fs/usr
    1.37 -	cp -a $_pkg/usr/include $fs/usr
    1.38 +	cp -a $install/usr/bin $fs/usr
    1.39 +	cp -a $install/usr/include $fs/usr
    1.40  	# do not need to copy lib/libiberty.a
    1.41  	mkdir -p $fs/usr/lib
    1.42 -	cp -a $_pkg/usr/lib/gcc $fs/usr/lib
    1.43 +	cp -a $install/usr/lib/gcc $fs/usr/lib
    1.44  }
    1.45  
    1.46  # Rules to setup after installation