
Receipt for package "mingw32-binutils"
# SliTaz package receipt. PACKAGE="mingw32-binutils" SOURCE="binutils" VERSION="2.19.1" CATEGORY="development" SHORT_DESC="MinGW32 binutils." MAINTAINER="rcx@zoominternet.net" LICENSE="GPL2" TARBALL="$SOURCE-$VERSION-src.tar.gz" WEB_SITE="http://www.mingw.org/" WGET_URL="$SF_MIRROR/mingw/$TARBALL" TAGS="assembler linker" DEPENDS="glibc-base zlib" BUILD_DEPENDS="slitaz-toolchain bison flex gcc49" HOST_ARCH="i486 x86_64" # Configuration only needs included if we're in the build/wok environment if [ -e $WOK/mingw32-toolchain/stuff/mingw32.conf ] ; then . $WOK/mingw32-toolchain/stuff/mingw32.conf fi # What is the latest version available today? current_version() { wget -O - https://sourceforge.net/projects/mingw/files/MinGW/Base/binutils/ 2>/dev/null | \ sed '/scope="row/!d;s|.*href="|"https://sourceforge.net|;q' | xargs wget -O - 2>/dev/null | \ sed '/scope="row/!d;s|.*/binutils-||;s|/.*||;q' } # Rules to configure and make the package. compile_rules() { cd $src # https://bugzilla.redhat.com/show_bug.cgi?id=1230079 patch -p1 < $stuff/fix_right_hand.patch ./configure \ CC=gcc-49 \ CXX=gcc-49 \ --prefix=/usr \ --infodir=/usr/share/info \ --mandir=/usr/share/man \ --with-sysroot=$MINGW32_ROOT \ --disable-shared \ --disable-debug \ --disable-werror \ --target=$MINGW32_TARGET \ $CONFIGURE_ARGS && make CFLAGS="-O2 -fno-exceptions -Wno-error=unused-but-set-variable" LDFLAGS="-s" && make DESTDIR=$DESTDIR install } # Rules to gen a SliTaz package suitable for Tazpkg. genpkg_rules() { mkdir -p $fs/usr/lib $fs$MINGW32_ROOT cp -a $install/usr/bin $fs/usr cp -a $install$MINGW32_ROOT/* $fs$MINGW32_ROOT # do not need to copy lib/libiberty.a strip -s $fs$MINGW32_ROOT/bin/* #Create a symlink for --with-sysroot ln -s . $fs$MINGW32_ROOT/usr }
6088 packages and 256128 files in current database (Wed Mar 5 09:18:31 2025)