mirror of
https://github.com/void-linux/void-packages.git
synced 2025-06-07 23:53:51 +02:00
binutils: update to 2.25.
This commit is contained in:
parent
2bd5d33e09
commit
5e7b65066e
1 changed files with 3 additions and 9 deletions
|
@ -1,27 +1,24 @@
|
||||||
# Template file for 'binutils'
|
# Template file for 'binutils'
|
||||||
pkgname=binutils
|
pkgname=binutils
|
||||||
version=2.24
|
version=2.25
|
||||||
revision=4
|
revision=1
|
||||||
bootstrap=yes
|
bootstrap=yes
|
||||||
replaces="chroot-binutils>=0"
|
|
||||||
short_desc="GNU binary utilities"
|
short_desc="GNU binary utilities"
|
||||||
maintainer="Juan RP <xtraeme@gmail.com>"
|
maintainer="Juan RP <xtraeme@gmail.com>"
|
||||||
homepage="http://www.gnu.org/software/binutils/"
|
homepage="http://www.gnu.org/software/binutils/"
|
||||||
license="GPL-3"
|
license="GPL-3"
|
||||||
distfiles="http://ftp.gnu.org/gnu/$pkgname/$pkgname-$version.tar.gz"
|
distfiles="http://ftp.gnu.org/gnu/$pkgname/$pkgname-$version.tar.gz"
|
||||||
checksum=4930b2886309112c00a279483eaef2f0f8e1b1b62010e0239c16b22af7c346d4
|
checksum=cccf377168b41a52a76f46df18feb8f7285654b3c1bd69fc8265cb0fc6902f2d
|
||||||
|
|
||||||
if [ "$CHROOT_READY" ]; then
|
if [ "$CHROOT_READY" ]; then
|
||||||
hostmakedepends="flex perl"
|
hostmakedepends="flex perl"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
makedepends+=" zlib-devel"
|
makedepends+=" zlib-devel"
|
||||||
|
|
||||||
pre_configure() {
|
pre_configure() {
|
||||||
# Drop bashism!
|
# Drop bashism!
|
||||||
sed -e 's,source,\.,g' -i ld/scripttempl/elf.sc
|
sed -e 's,source,\.,g' -i ld/scripttempl/elf.sc
|
||||||
}
|
}
|
||||||
|
|
||||||
do_configure() {
|
do_configure() {
|
||||||
if [ "$XBPS_TARGET_MACHINE" = "x86_64" ]; then
|
if [ "$XBPS_TARGET_MACHINE" = "x86_64" ]; then
|
||||||
CONFIGFLAG="--enable-64-bit-bfd --enable-multilib"
|
CONFIGFLAG="--enable-64-bit-bfd --enable-multilib"
|
||||||
|
@ -36,7 +33,6 @@ do_configure() {
|
||||||
--disable-shared --enable-gold --disable-werror \
|
--disable-shared --enable-gold --disable-werror \
|
||||||
--enable-ld=default $CONFIGFLAG LDFLAGS=
|
--enable-ld=default $CONFIGFLAG LDFLAGS=
|
||||||
}
|
}
|
||||||
|
|
||||||
do_build() {
|
do_build() {
|
||||||
make ${makejobs}
|
make ${makejobs}
|
||||||
|
|
||||||
|
@ -56,7 +52,6 @@ do_build() {
|
||||||
make -C opcodes-pic clean
|
make -C opcodes-pic clean
|
||||||
make CFLAGS="$CFLAGS -fPIC" -C opcodes-pic
|
make CFLAGS="$CFLAGS -fPIC" -C opcodes-pic
|
||||||
}
|
}
|
||||||
|
|
||||||
do_install() {
|
do_install() {
|
||||||
if [ "$XBPS_TARGET_MACHINE" = "x86_64" ]; then
|
if [ "$XBPS_TARGET_MACHINE" = "x86_64" ]; then
|
||||||
mkdir -p ${DESTDIR}/usr/lib
|
mkdir -p ${DESTDIR}/usr/lib
|
||||||
|
@ -98,7 +93,6 @@ do_install() {
|
||||||
}
|
}
|
||||||
|
|
||||||
binutils-devel_package() {
|
binutils-devel_package() {
|
||||||
replaces="chroot-binutils>=0"
|
|
||||||
depends="zlib-devel"
|
depends="zlib-devel"
|
||||||
short_desc+=" - development files"
|
short_desc+=" - development files"
|
||||||
pkg_install() {
|
pkg_install() {
|
||||||
|
|
Loading…
Add table
Reference in a new issue