milis/talimatname/genel/b/binutils-gold/talimat

37 lines
699 B
Plaintext
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

# Tanım: Linker, assembler, and other tools for handling object files.
# URL: http://sources.redhat.com/binutils/
# Paketçi: milisarge
# Gerekler:
# Grup: geliştirme
isim=binutils-gold
surum=2.26
devir=1
kaynak=(http://ftp.gnu.org/gnu/binutils/binutils-$surum.tar.bz2)
derle() {
cd binutils-$surum
mkdir -v build
cd build
../configure \
--prefix=/usr --includedir=/usr/include \
--bindir=/bin --sbindir=/sbin \
--datarootdir=/usr/share \
--enable-gold \
--enable-plugins \
--enable-shared --disable-werror
make tooldir=/ || make tooldir=/
make tooldir=/usr DESTDIR=$PKG install
mv $PKG/usr/bin/ld.gold .
rm -rf $PKG/*
mkdir -p $PKG/usr/bin
mv ld.gold $PKG/usr/bin/
}