ports

recipes for building multiple softwares
git clone git://z3bra.org/ports
Log | Files | Refs

commit 74cceb21544d13b4801ad8de0b4601ae268db1a6
parent 92783c726d4434af275aa29ad71e2a0014503adf
Author: z3bra <willyatmailoodotorg>
Date:   Sun Aug 16 16:47:47 2015

binutils: new port

Diffstat:
 binutils/makeme | 24 ++++++++++++++++++++++++
 1 file changed, 24 insertions(+), 0 deletions(-)

diff --git a/binutils/makeme b/binutils/makeme @@ -0,0 +1,24 @@ +name=binutils +version=2.25 +source=ftp://ftp.gnu.org/gnu/$name/$name-$version.tar.bz2 + +package() { + curl -# $source | tar xj + + sed -i '/^SUBDIRS/s/doc//' $name-$version/bfd/Makefile.in + + mkdir $name-$version/build + cd $name-$version/build + + ../configure --target=${TOOLCHAIN_TRIPLET} \ + --mandir=/share/man \ + --disable-nls \ + --disable-share \ + --disable-multilib + + make LDFLAGS="$LDFLAGS -all-static" + make DESTDIR=$WORKDIR/$name install + + cd .. + rm -r $name-$version +}