From 24525f08851eb762928d10ffc3e5c545eccd2bb6 Mon Sep 17 00:00:00 2001 From: Lukc Date: Sat, 11 Dec 2010 22:32:56 +0100 Subject: Recette des binutils mise ? jour. --- binutils/.footprint | 50 ++++++++++++++++++++++++++++++-------------------- binutils/Pkgfile | 30 ++++++++++++++++-------------- 2 files changed, 46 insertions(+), 34 deletions(-) diff --git a/binutils/.footprint b/binutils/.footprint index dda183a..3493a02 100644 --- a/binutils/.footprint +++ b/binutils/.footprint @@ -50,23 +50,33 @@ lrwxrwxrwx root/root usr/lib/libbfd.so -> libbfd-2.20.1.so -rw-r--r-- root/root usr/lib/libopcodes.a -rwxr-xr-x root/root usr/lib/libopcodes.la lrwxrwxrwx root/root usr/lib/libopcodes.so -> libopcodes-2.20.1.so -drwxr-xr-x root/root usr/man/ -drwxr-xr-x root/root usr/man/man1/ --rw-r--r-- root/root usr/man/man1/addr2line.1.gz --rw-r--r-- root/root usr/man/man1/ar.1.gz --rw-r--r-- root/root usr/man/man1/as.1.gz --rw-r--r-- root/root usr/man/man1/c++filt.1.gz --rw-r--r-- root/root usr/man/man1/dlltool.1.gz --rw-r--r-- root/root usr/man/man1/gprof.1.gz --rw-r--r-- root/root usr/man/man1/ld.1.gz --rw-r--r-- root/root usr/man/man1/nlmconv.1.gz --rw-r--r-- root/root usr/man/man1/nm.1.gz --rw-r--r-- root/root usr/man/man1/objcopy.1.gz --rw-r--r-- root/root usr/man/man1/objdump.1.gz --rw-r--r-- root/root usr/man/man1/ranlib.1.gz --rw-r--r-- root/root usr/man/man1/readelf.1.gz --rw-r--r-- root/root usr/man/man1/size.1.gz --rw-r--r-- root/root usr/man/man1/strings.1.gz --rw-r--r-- root/root usr/man/man1/strip.1.gz --rw-r--r-- root/root usr/man/man1/windmc.1.gz --rw-r--r-- root/root usr/man/man1/windres.1.gz +drwxr-xr-x root/root usr/share/ +drwxr-xr-x root/root usr/share/info/ +-rw-r--r-- root/root usr/share/info/as.info +-rw-r--r-- root/root usr/share/info/bfd.info +-rw-r--r-- root/root usr/share/info/binutils.info +-rw-r--r-- root/root usr/share/info/configure.info +-rw-r--r-- root/root usr/share/info/dir +-rw-r--r-- root/root usr/share/info/gprof.info +-rw-r--r-- root/root usr/share/info/ld.info +-rw-r--r-- root/root usr/share/info/standards.info +drwxr-xr-x root/root usr/share/man/ +drwxr-xr-x root/root usr/share/man/man1/ +-rw-r--r-- root/root usr/share/man/man1/addr2line.1.bz2 +-rw-r--r-- root/root usr/share/man/man1/ar.1.bz2 +-rw-r--r-- root/root usr/share/man/man1/as.1.bz2 +-rw-r--r-- root/root usr/share/man/man1/c++filt.1.bz2 +-rw-r--r-- root/root usr/share/man/man1/dlltool.1.bz2 +-rw-r--r-- root/root usr/share/man/man1/gprof.1.bz2 +-rw-r--r-- root/root usr/share/man/man1/ld.1.bz2 +-rw-r--r-- root/root usr/share/man/man1/nlmconv.1.bz2 +-rw-r--r-- root/root usr/share/man/man1/nm.1.bz2 +-rw-r--r-- root/root usr/share/man/man1/objcopy.1.bz2 +-rw-r--r-- root/root usr/share/man/man1/objdump.1.bz2 +-rw-r--r-- root/root usr/share/man/man1/ranlib.1.bz2 +-rw-r--r-- root/root usr/share/man/man1/readelf.1.bz2 +-rw-r--r-- root/root usr/share/man/man1/size.1.bz2 +-rw-r--r-- root/root usr/share/man/man1/strings.1.bz2 +-rw-r--r-- root/root usr/share/man/man1/strip.1.bz2 +-rw-r--r-- root/root usr/share/man/man1/windmc.1.bz2 +-rw-r--r-- root/root usr/share/man/man1/windres.1.bz2 diff --git a/binutils/Pkgfile b/binutils/Pkgfile index ec9e903..b729d59 100644 --- a/binutils/Pkgfile +++ b/binutils/Pkgfile @@ -1,24 +1,26 @@ description="The GNU Binutils are a collection of binary tools" -packager="" -maintainer="CRUX System Team, core-ports at crux dot nu" +packager="CRUX System Team, core-ports at crux dot nu" +maintainer="Lukc " # FIXME: Don't want to be the +#+ maintainer of a package I don't understand -- for now. /o\ url="http://sources.redhat.com/binutils/" depends=(zlib) name=binutils version=2.20.1 release=1 -source=(ftp://ftp.gnu.org/gnu/binutils/binutils-2.20.1.tar.bz2) +source=(ftp://ftp.gnu.org/gnu/$name/$name-$version.tar.bz2) build () { - sed -i '/^SUBDIRS/s/doc//' $name-$version/bfd/Makefile.in; - sed -i '/^# RELEASE=y/s/#//' $name-$version/bfd/Makefile.in; - mkdir build; - cd build; - ../$name-$version/configure --prefix=/usr --mandir=/usr/man --enable-shared --disable-nls; - make tooldir=/usr; - make check; - make tooldir=/usr DESTDIR=$PKG install; - cp ../$name-$version/include/libiberty.h $PKG/usr/include; - rm -r $PKG/usr/share; - sed -i "s|-L$SRC[^ ]* ||g" $PKG/usr/lib/libbfd.la + # This seems to remove the documentation... which is something we don't + #+ want, for now. + #sed -i '/^SUBDIRS/s/doc//' $name-$version/bfd/Makefile.in; + sed -i '/^# RELEASE=y/s/#//' $name-$version/bfd/Makefile.in; + mkdir build; + cd build; + ../$name-$version/configure --prefix=$prefix --mandir=$mandir --enable-shared --disable-nls; + make tooldir=$prefix; + make check; + make tooldir=$prefix DESTDIR=$PKG install; + cp ../$name-$version/include/libiberty.h $PKG/usr/include; + sed -i "s|-L$SRC[^ ]* ||g" $PKG/usr/lib/libbfd.la } -- cgit v1.2.3-70-g09d2