wok-4.x diff h8300-gdb/receipt @ rev 5542
mutt: fix compile_rules for openssl 1.0
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Thu May 13 13:23:20 2010 +0200 (2010-05-13) |
parents | c9ccc46854e4 |
children | fdcef0b5e0c7 |
line diff
1.1 --- a/h8300-gdb/receipt Wed Jun 03 12:17:34 2009 +0000 1.2 +++ b/h8300-gdb/receipt Thu May 13 13:23:20 2010 +0200 1.3 @@ -12,13 +12,19 @@ 1.4 WEB_SITE="http://www.gnu.org/software/gdb/" 1.5 WGET_URL="$GNU_MIRROR/$SOURCE/$TARBALL" 1.6 1.7 +# Configuration only needs included if we're in the build/wok environment 1.8 +if [ -e $WOK/h8300-toolchain/stuff/h8300.conf ] ; then 1.9 + . $WOK/h8300-toolchain/stuff/h8300.conf 1.10 +fi 1.11 + 1.12 # Rules to configure and make the package. 1.13 compile_rules() 1.14 { 1.15 - mkdir -p $src-build 1.16 - cd $src-build 1.17 + mkdir -p $SOURCE-$VERSION-build 1.18 + cd $SOURCE-$VERSION-build 1.19 $src/configure \ 1.20 - --target=h8300-hitachi-hms \ 1.21 + --disable-werror \ 1.22 + --target=$H8300_TARGET \ 1.23 --prefix=/usr \ 1.24 --infodir=/usr/share/info \ 1.25 --mandir=/usr/share/man \ 1.26 @@ -33,3 +39,9 @@ 1.27 mkdir -p $fs/usr 1.28 cp -a $_pkg/usr/bin $fs/usr 1.29 } 1.30 + 1.31 +# Rules to clean the package 1.32 +clean_wok() 1.33 +{ 1.34 + rm -r -f $SOURCE-$VERSION-build 1.35 +}