23 lines
617 B
Plaintext
23 lines
617 B
Plaintext
# Description: The GNU Binutils are a collection of binary tools
|
|
# URL: http://sources.redhat.com/binutils/
|
|
# Maintainer: Per Lidén, core-ports at crux dot nu
|
|
|
|
name=binutils
|
|
version=2.17
|
|
release=1
|
|
source=(ftp://ftp.gnu.org/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
|
|
}
|