binutils: update to 2.22.

This commit is contained in:
Juan RP 2011-11-22 10:59:32 +01:00
parent ee9d10f613
commit be9ff77bfd
1 changed files with 6 additions and 7 deletions

View File

@ -1,13 +1,12 @@
# Template file for 'binutils'
pkgname=binutils
version=2.21.1
version=2.22
distfiles="${GNU_SITE}/binutils/$pkgname-$version.tar.bz2"
revision=1
short_desc="GNU binary utilities"
maintainer="Juan RP <xtraeme@gmail.com>"
homepage="http://www.gnu.org/software/binutils/"
license="GPL-3"
checksum=cdecfa69f02aa7b05fbcdf678e33137151f361313b2f3e48aba925f64eabf654
checksum=6c7af8ed1c8cf9b4b9d6e6fe09a3e1d3d479fe63984ba8b9b26bf356b6313ca9
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
@ -28,17 +27,17 @@ if [ -n "$BOOTSTRAP_PKG_REBUILD" ]; then
Add_dependency build gettext
fi
do_build()
{
do_configure() {
./configure ${CONFIGURE_SHARED_ARGS} --enable-threads \
--enable-64-bit-bfd --enable-multilib --enable-plugins \
--enable-secureplt --with-mmap
}
do_build() {
make ${makejobs}
}
do_install()
{
do_install() {
if [ "$XBPS_MACHINE" = "x86_64" ]; then
mkdir -p ${SRCPKGDESTDIR}/usr/lib
cd ${SRCPKGDESTDIR}/usr && ln -s lib lib64 && cd ${wrksrc}