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" # 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|.*a href="|"https://sourceforge.net|;s| .*||;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 ./configure \ --prefix=/usr \ --infodir=/usr/share/info \ --mandir=/usr/share/man \ --with-sysroot=$MINGW32_ROOT \ --disable-shared \ --disable-debug \ --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 }
5935 packages and 845883 files in cooking database (Thu Jun 27 00:01:54 2024)