23 lines
618 B
Plaintext
23 lines
618 B
Plaintext
|
# Description: The GNU Binutils are a collection of binary tools
|
|||
|
# URL: http://sources.redhat.com/binutils/
|
|||
|
# Maintainer: Per Lid<69>n <per@fukt.bth.se>
|
|||
|
|
|||
|
name=binutils
|
|||
|
version=2.16.1
|
|||
|
release=1
|
|||
|
source=(http://mirrors.sunsite.dk/gnu/$name/$name-$version.tar.bz2)
|
|||
|
|
|||
|
build() {
|
|||
|
mkdir build
|
|||
|
cd build
|
|||
|
../$name-$version/configure --prefix=/usr \
|
|||
|
--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 -rf $PKG/usr/info
|
|||
|
sed -i "s|-L$SRC[^ ]* ||g" $PKG/usr/lib/libbfd.la
|
|||
|
}
|