# HG changeset patch # User Xander Ziiryanoff # Date 1446440143 -3600 # Node ID b86fd11b1871b05992dc4e8a8501ee21cd8b7a98 # Parent 507a1c6e863c0936c09021210b3a0f45db8491cb Update binutils in chroot (2.25) diff -r 507a1c6e863c -r b86fd11b1871 binutils/description.txt --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/binutils/description.txt Mon Nov 02 05:55:43 2015 +0100 @@ -0,0 +1,4 @@ +The GNU Binutils are a collection of binary tools. The main ones are: + + ld - the GNU linker. + as - the GNU assembler. diff -r 507a1c6e863c -r b86fd11b1871 binutils/receipt --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/binutils/receipt Mon Nov 02 05:55:43 2015 +0100 @@ -0,0 +1,73 @@ +# SliTaz package receipt. + +PACKAGE="binutils" +VERSION="2.25" +CATEGORY="development" +SHORT_DESC="GNU assembler, linker and binary utilities." +MAINTAINER="pankso@slitaz.org" +LICENSE="GPL2" +TARBALL="$PACKAGE-$VERSION.tar.bz2" +WEB_SITE="http://www.gnu.org/software/binutils/" +WGET_URL="$GNU_MIRROR/$PACKAGE/$TARBALL" +#WGET_URL="http://www.kernel.org/pub/linux/devel/binutils/$TARBALL" +PROVIDE="libbfd" +TAGS="assembler linker" +HOST_ARCH="i486 arm" + +DEPENDS="glibc zlib" +BUILD_DEPENDS="glibc-dev zlib-dev texinfo" + +# Handle cross compilation. +case "$ARCH" in + arm) BUILD_DEPENDS="" ;; +esac + +# Rules to configure and make the package. +compile_rules() +{ + case "$ARCH" in + i?86) ARCH_ARGS="--disable-werror" ;; + esac + mkdir -p ../binutils-build && cd ../binutils-build + $src/configure \ + --program-prefix=$TOOLPREFIX \ + --enable-shared \ + --disable-initfini-array \ + --with-bugurl="http://bugs.slitaz.org/" \ + $CONFIGURE_ARGS $ARCH_ARGS && + make tooldir=/usr && + make tooldir=/usr install && + # This is the default binutils, so create symlinks to the target platform + # binutil binaries. Delete duplicate binaries to save space. + for binutil in $(ls -1 $DESTDIR/usr/bin | grep "${TOOLPREFIX}") ; do + path="$DESTDIR/usr/bin/$(echo "$binutil" | sed "s:$TOOLPREFIX::g")" + if [ -e $path ] ; then + rm -f $path + fi + ln -s $binutil $path + done +} + +# Rules to gen a SliTaz package suitable for Tazpkg. +genpkg_rules() +{ + mkdir -p $fs/usr/lib + cp -a $install/usr/bin $fs/usr + cp -a $install/usr/lib/*.so* $fs/usr/lib + cp -a $install/usr/lib/*.a $fs/usr/lib + cp -a $install/usr/include $fs/usr + + # libiberty.h + cp -a $src/include/libiberty.h $fs/usr/include + + # Remove 'strings' (Busybox). + #rm $fs/usr/lib/libiberty.a + rm $fs/usr/bin/strings $fs/usr/bin/*-strings + + # Remove build directory (cookutils and tazwok path). + rm -rf $WOK/$PACKAGE/source/$PACKAGE-build + rm -rf $WOK/$PACKAGE/$PACKAGE-build + + chown -R root:root $fs/usr/include/libiberty.h + chmod 644 $fs/usr/include/libiberty.h +} diff -r 507a1c6e863c -r b86fd11b1871 gnome-panel/receipt --- a/gnome-panel/receipt Mon Nov 02 05:11:43 2015 +0100 +++ b/gnome-panel/receipt Mon Nov 02 05:55:43 2015 +0100 @@ -47,3 +47,4 @@ $fs/usr/share/icons/hicolor rm $fs/usr/share/gnome-panelrc } + diff -r 507a1c6e863c -r b86fd11b1871 libgweather-dev/receipt --- a/libgweather-dev/receipt Mon Nov 02 05:11:43 2015 +0100 +++ b/libgweather-dev/receipt Mon Nov 02 05:55:43 2015 +0100 @@ -19,3 +19,4 @@ cp -a $install/usr/lib/pkgconfig $fs/usr/lib cp -a $install/usr/include $fs/usr } + diff -r 507a1c6e863c -r b86fd11b1871 libgweather/receipt --- a/libgweather/receipt Mon Nov 02 05:11:43 2015 +0100 +++ b/libgweather/receipt Mon Nov 02 05:55:43 2015 +0100 @@ -40,4 +40,3 @@ #cp -a $install/usr/share/dbus-1 $fs/usr/share } - diff -r 507a1c6e863c -r b86fd11b1871 libsoup-dev/receipt --- a/libsoup-dev/receipt Mon Nov 02 05:11:43 2015 +0100 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,22 +0,0 @@ -# SliTaz package receipt. - -PACKAGE="libsoup-dev" -VERSION="2.44.2" -CATEGORY="x-window" -SHORT_DESC="GNOME Soup Library (devel files)." -MAINTAINER="pankso@slitaz.org" -LICENSE="LGPL2" -WANTED="libsoup" -WEB_SITE="http://live.gnome.org/LibSoup/" - -DEPENDS="libsoup libxml2-dev gnutls-dev glib-dev pkg-config" - -# Rules to gen a SliTaz package suitable for Tazpkg. -genpkg_rules() -{ - mkdir -p $fs/usr/lib $fs/usr/share - cp -a $install/usr/lib/*.*a $fs/usr/lib - cp -a $install/usr/lib/pkgconfig $fs/usr/lib - cp -a $install/usr/include $fs/usr - cp -a $install/usr/share/gir-1.0 $fs/usr/share -} diff -r 507a1c6e863c -r b86fd11b1871 libsoup/receipt --- a/libsoup/receipt Mon Nov 02 05:11:43 2015 +0100 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,37 +0,0 @@ -# SliTaz package receipt. - -PACKAGE="libsoup" -VERSION="2.44.2" -CATEGORY="x-window" -SHORT_DESC="GNOME Soup Library." -MAINTAINER="pankso@slitaz.org" -LICENSE="LGPL2" -TARBALL="$PACKAGE-$VERSION.tar.xz" -WEB_SITE="https://live.gnome.org/LibSoup/" -WGET_URL="$GNOME_MIRROR/$PACKAGE/${VERSION%.*}/$TARBALL" - -DEPENDS="glibc-base libxml2 zlib glib glib-networking libgio gtk+ \ -libgnutls libtasn1 libgcrypt sqlite" -BUILD_DEPENDS="gtk+-dev glib-networking-dev libgio libgio-dev libxml2-dev \ -libgcrypt-dev libtasn1-dev gobject-introspection-dev gnutls-dev zlib-dev \ -sqlite-dev glib-dev" - -# Rules to configure and make the package. -compile_rules() -{ - ./configure \ - --with-html-dir=/usr/share/doc \ - --disable-gtk-doc \ - --without-gnome \ - $CONFIGURE_ARGS && - make && make install -} - -# Rules to gen a SliTaz package suitable for Tazpkg. -genpkg_rules() -{ - mkdir -p $fs/usr/lib - cp -a $install/usr/lib/*.so* $fs/usr/lib - cp -a $install/usr/lib/girepository-1.0 $fs/usr/lib -} - diff -r 507a1c6e863c -r b86fd11b1871 mplayer/receipt --- a/mplayer/receipt Mon Nov 02 05:11:43 2015 +0100 +++ b/mplayer/receipt Mon Nov 02 05:55:43 2015 +0100 @@ -23,7 +23,8 @@ # Rules to configure and make the package. compile_rules() { - + export CFLAGS="$CFLAGS -mtune=i686" + export CXXFLAGS="$CFLAGS" ARCH_ARGS="--target=i486-linux --disable-sdl --enable-runtime-cpudetection" ./configure \ --prefix=/usr \ @@ -44,8 +45,6 @@ --disable-faac \ --disable-speex \ ${ARCH_ARGS} && - export CFLAGS="$CFLAGS -mtune=i686" - export CXXFLAGS="$CFLAGS" make $MAKEFLAGS && make DESTDIR=$DESTDIR install }