wok diff h8300-gcc/receipt @ rev 15196
pbzip2: update deps
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Tue Sep 03 17:54:09 2013 +0000 (2013-09-03) |
parents | 4c16797dce28 |
children | 52649f27a0da |
line diff
1.1 --- a/h8300-gcc/receipt Tue Jun 12 18:52:42 2012 +0200 1.2 +++ b/h8300-gcc/receipt Tue Sep 03 17:54:09 2013 +0000 1.3 @@ -6,13 +6,15 @@ 1.4 CATEGORY="development" 1.5 SHORT_DESC="gcc targeting the H8/300" 1.6 MAINTAINER="rcx@zoominternet.net" 1.7 -DEPENDS="h8300-binutils glibc-base gmp mpfr" 1.8 -BUILD_DEPENDS="slitaz-toolchain gawk flex gmp gmp-dev mpfr mpfr-dev 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 TAGS="compiler C C++" 1.14 1.15 +DEPENDS="h8300-binutils glibc-base gmp mpfr" 1.16 +BUILD_DEPENDS="slitaz-toolchain gawk flex gmp gmp-dev mpfr mpfr-dev h8300-binutils" 1.17 + 1.18 # Configuration only needs included if we're in the build/wok environment 1.19 if [ -e $WOK/h8300-toolchain/stuff/h8300.conf ] ; then 1.20 . $WOK/h8300-toolchain/stuff/h8300.conf 1.21 @@ -36,18 +38,18 @@ 1.22 --mandir=/usr/share/man \ 1.23 $CONFIGURE_ARGS && 1.24 make $MAKEFLAGS && 1.25 - make DESTDIR=$src/_pkg install 1.26 + make DESTDIR=$DESTDIR install 1.27 } 1.28 1.29 # Rules to gen a SliTaz package suitable for Tazpkg. 1.30 genpkg_rules() 1.31 { 1.32 mkdir -p $fs/usr 1.33 - cp -a $_pkg/usr/bin $fs/usr 1.34 - cp -a $_pkg/usr/include $fs/usr 1.35 + cp -a $install/usr/bin $fs/usr 1.36 + cp -a $install/usr/include $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 # Do not include the h8* variant folders; create separate packages if they are needed 1.42 rm -r -f $fs/usr/lib/gcc/$H8300_TARGET/$VERSION/h8300h 1.43 rm -r -f $fs/usr/lib/gcc/$H8300_TARGET/$VERSION/h8300s