wok diff h8300-gcc3/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 4c16797dce28
children 7196945bca36
line diff
     1.1 --- a/h8300-gcc3/receipt	Tue Jun 12 18:52:42 2012 +0200
     1.2 +++ b/h8300-gcc3/receipt	Sat Aug 10 17:00:38 2013 +0000
     1.3 @@ -6,14 +6,16 @@
     1.4  CATEGORY="development"
     1.5  SHORT_DESC="gcc targeting the H8/300"
     1.6  MAINTAINER="rcx@zoominternet.net"
     1.7 -DEPENDS="h8300-binutils"
     1.8 -BUILD_DEPENDS="bison flex h8300-binutils"
     1.9 +LICENSE="GPL2"
    1.10  TARBALL="$SOURCE-$VERSION.tar.bz2"
    1.11  WEB_SITE="http://www.gnu.org/software/gcc/"
    1.12  WGET_URL="$GNU_MIRROR/$SOURCE/$SOURCE-$VERSION/$TARBALL"
    1.13  PROVIDE="h8300-gcc"
    1.14  TAGS="compiler C C++ ada"
    1.15  
    1.16 +DEPENDS="h8300-binutils"
    1.17 +BUILD_DEPENDS="bison flex h8300-binutils"
    1.18 +
    1.19  # Configuration only needs included if we're in the build/wok environment
    1.20  if [ -e $WOK/h8300-toolchain/stuff/h8300.conf ] ; then
    1.21  	. $WOK/h8300-toolchain/stuff/h8300.conf
    1.22 @@ -36,18 +38,18 @@
    1.23  		--mandir=/usr/share/man \
    1.24  		$CONFIGURE_ARGS &&
    1.25  	make $MAKEFLAGS &&
    1.26 -	make DESTDIR=$src/_pkg install
    1.27 +	make DESTDIR=$DESTDIR install
    1.28  }
    1.29  
    1.30  # Rules to gen a SliTaz package suitable for Tazpkg.
    1.31  genpkg_rules()
    1.32  {
    1.33  	mkdir -p $fs/usr
    1.34 -	cp -a $_pkg/usr/bin $fs/usr
    1.35 -	cp -a $_pkg/usr/include $fs/usr
    1.36 +	cp -a $install/usr/bin $fs/usr
    1.37 +	cp -a $install/usr/include $fs/usr
    1.38  	# Do not need to copy lib/libiberty.a
    1.39  	mkdir -p $fs/usr/lib
    1.40 -	cp -a $_pkg/usr/lib/gcc $fs/usr/lib
    1.41 +	cp -a $install/usr/lib/gcc $fs/usr/lib
    1.42  	# Do not include the h8300* variant folders; create separate packages if they are needed
    1.43  	rm -r -f $fs/usr/lib/gcc/$H8300_TARGET/$VERSION/h8300h
    1.44  	rm -r -f $fs/usr/lib/gcc/$H8300_TARGET/$VERSION/h8300s