159e450616
--HG-- extra : convert_revision : 3c0d3301aee27df74774353ee3d6d840bacff14a
37 lines
1.4 KiB
Cheetah
37 lines
1.4 KiB
Cheetah
# Template file for 'binutils'
|
|
pkgname=binutils
|
|
version=2.19
|
|
distfiles="http://ftp.gnu.org/gnu/binutils/$pkgname-$version.tar.bz2"
|
|
build_style=gnu_configure
|
|
configure_args="--disable-werror --enable-shared --enable-multilib
|
|
--enable-64-bit-bfd"
|
|
make_install_target="tooldir=$XBPS_DESTDIR/$pkgname-$version/usr
|
|
install prefix=$XBPS_DESTDIR/$pkgname-$version/usr"
|
|
short_desc="GNU binary utilities"
|
|
maintainer="Juan RP <xtraeme@gmail.com>"
|
|
checksum=bd2ea10ffc2bf62a917b05f4fbe3d02212589c2bc177fa0c51a9c874d3da528a
|
|
long_desc="
|
|
The GNU binutils package contains essential tools to assemble, link and
|
|
manipulate binary and object files. They are often used with a compiler
|
|
and additional libraries for building software.
|
|
|
|
It includes the GNU linker, the portable GNU assembler, ar for modifying
|
|
archives (such as libraries), nm for listing symbols from object files,
|
|
objdump for displaying object file information, ranlib for generating
|
|
archive indexes, size for listing section sizes of object files,
|
|
strings for outputing the printable characters in files, strip for
|
|
stripping out symbols (like debugging information) from object files,
|
|
and other tools."
|
|
|
|
base_chroot=yes
|
|
|
|
post_install()
|
|
{
|
|
local destdir=$XBPS_DESTDIR/$pkgname-$version
|
|
|
|
if [ "$xbps_machine" = "x86_64" -a -d $destdir/usr/lib64 ]; then
|
|
mv $destdir/usr/lib64/* $destdir/usr/lib
|
|
rmdir $destdir/usr/lib64
|
|
fi
|
|
}
|