diff options
author | Lukc <lukc@upyum.com> | 2010-12-11 19:15:23 +0100 |
---|---|---|
committer | Lukc <lukc@upyum.com> | 2010-12-11 19:15:35 +0100 |
commit | 6d908a38e05b9d4135c65d23114a5874215b5bb8 (patch) | |
tree | b5e6da6d95b9a1235d82032b509b80483a886ff5 /binutils/Pkgfile | |
download | base-6d908a38e05b9d4135c65d23114a5874215b5bb8.tar.gz base-6d908a38e05b9d4135c65d23114a5874215b5bb8.tar.bz2 base-6d908a38e05b9d4135c65d23114a5874215b5bb8.tar.xz base-6d908a38e05b9d4135c65d23114a5874215b5bb8.zip |
Engagement initial.
Diffstat (limited to 'binutils/Pkgfile')
-rw-r--r-- | binutils/Pkgfile | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/binutils/Pkgfile b/binutils/Pkgfile new file mode 100644 index 0000000..ec9e903 --- /dev/null +++ b/binutils/Pkgfile @@ -0,0 +1,24 @@ +description="The GNU Binutils are a collection of binary tools" +packager="" +maintainer="CRUX System Team, core-ports at crux dot nu" +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) +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 +} |