wok-next diff mingw32-binutils/receipt @ rev 21727
created recipe for vbindiff
author | Hans-G?nter Theisgen |
---|---|
date | Sat Nov 21 14:32:44 2020 +0100 (2020-11-21) |
parents | b19ddba309f9 |
children |
line diff
1.1 --- a/mingw32-binutils/receipt Fri Mar 23 10:45:35 2018 +0200 1.2 +++ b/mingw32-binutils/receipt Sat Nov 21 14:32:44 2020 +0100 1.3 @@ -4,7 +4,7 @@ 1.4 VERSION="2.28-1" 1.5 CATEGORY="development" 1.6 SHORT_DESC="MinGW32 binutils" 1.7 -MAINTAINER="rcx@zoominternet.net" 1.8 +MAINTAINER="devel@slitaz.org" 1.9 LICENSE="GPL2" 1.10 WEB_SITE="http://www.mingw.org/" 1.11 1.12 @@ -14,13 +14,11 @@ 1.13 BUILD_DEPENDS="slitaz-toolchain bison flex texinfo" 1.14 1.15 # Configuration only needs included if we're in the build/wok environment 1.16 -if [ -e $WOK/mingw32-toolchain/stuff/mingw32.conf ] ; then 1.17 +if [ -e $WOK/mingw32-toolchain/stuff/mingw32.conf ]; then 1.18 . $WOK/mingw32-toolchain/stuff/mingw32.conf 1.19 fi 1.20 1.21 -# Rules to configure and make the package. 1.22 -compile_rules() 1.23 -{ 1.24 +compile_rules() { 1.25 sed -i 's|2 << 31|0|' gas/config/tc-i386.c 1.26 ./configure \ 1.27 --prefix=/usr \ 1.28 @@ -35,19 +33,17 @@ 1.29 -Wno-error=unused-but-set-variable -Wno-error=unused-value \ 1.30 -Wno-error=unused-but-set-parameter -Wno-error=logical-not-parentheses \ 1.31 -Wno-error=maybe-uninitialized -Wno-error=shift-negative-value" LDFLAGS="-s" && 1.32 - make DESTDIR=$DESTDIR install 1.33 + make DESTDIR=$install install 1.34 } 1.35 1.36 -# Rules to gen a SliTaz package suitable for Tazpkg. 1.37 -genpkg_rules() 1.38 -{ 1.39 +genpkg_rules() { 1.40 mkdir -p $fs/usr/lib $fs$MINGW32_ROOT 1.41 cp -a $install/usr/bin $fs/usr 1.42 cp -a $install$MINGW32_ROOT/* $fs$MINGW32_ROOT 1.43 # do not need to copy lib/libiberty.a 1.44 1.45 strip -s $fs$MINGW32_ROOT/bin/* 1.46 - 1.47 + 1.48 #Create a symlink for --with-sysroot 1.49 ln -s . $fs$MINGW32_ROOT/usr 1.50