chroot-binutils: explicitly disable rundeps; conditionalize some opts.
This commit is contained in:
parent
b6345ca1d3
commit
b4a7df14cb
1 changed files with 9 additions and 18 deletions
|
@ -1,7 +1,7 @@
|
||||||
# Template file for 'chroot-binutils'
|
# Template file for 'chroot-binutils'
|
||||||
pkgname=chroot-binutils
|
pkgname=chroot-binutils
|
||||||
version=2.23.51.0.3
|
version=2.23.51.0.3
|
||||||
revision=1
|
revision=2
|
||||||
wrksrc="binutils-${version}"
|
wrksrc="binutils-${version}"
|
||||||
short_desc="GNU binary utilities -- for xbps-src use"
|
short_desc="GNU binary utilities -- for xbps-src use"
|
||||||
maintainer="Juan RP <xtraeme@gmail.com>"
|
maintainer="Juan RP <xtraeme@gmail.com>"
|
||||||
|
@ -9,37 +9,28 @@ homepage="http://www.gnu.org/software/binutils/"
|
||||||
license="GPL-3"
|
license="GPL-3"
|
||||||
distfiles="${KERNEL_SITE}/devel/binutils/binutils-$version.tar.xz"
|
distfiles="${KERNEL_SITE}/devel/binutils/binutils-$version.tar.xz"
|
||||||
checksum=2162905dabf191a2a803eab8d31e7be52d96d6ccd1e0ce42e25d82c6be918cd0
|
checksum=2162905dabf191a2a803eab8d31e7be52d96d6ccd1e0ce42e25d82c6be918cd0
|
||||||
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.
|
|
||||||
|
|
||||||
This package is only meant to be used by xbps-src, don't install it manually."
|
|
||||||
|
|
||||||
if [ -n "$IN_CHROOT" ]; then
|
if [ -n "$IN_CHROOT" ]; then
|
||||||
makedepends="flex perl"
|
makedepends="flex perl"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
noverifyrdeps=yes
|
||||||
bootstrap=yes
|
bootstrap=yes
|
||||||
provides="binutils-${version}"
|
provides="binutils-${version}"
|
||||||
conflicts="binutils>=0"
|
conflicts="binutils>=0"
|
||||||
|
|
||||||
do_configure() {
|
do_configure() {
|
||||||
|
if [ "${XBPS_MACHINE}" = "x86_64" ]; then
|
||||||
|
CONFIGFLAG="--enable-64-bit-bfd --enable-multilib"
|
||||||
|
fi
|
||||||
|
|
||||||
./configure ${CONFIGURE_SHARED_ARGS} --disable-shared \
|
./configure ${CONFIGURE_SHARED_ARGS} --disable-shared \
|
||||||
--enable-threads --disable-plugins --enable-64-bit-bfd \
|
--enable-threads --disable-plugins \
|
||||||
--with-mmap --disable-bootstrap --enable-multilib
|
--with-mmap --disable-bootstrap ${CONFIGFLAG}
|
||||||
}
|
}
|
||||||
|
|
||||||
do_build() {
|
do_build() {
|
||||||
make
|
make ${makejobs}
|
||||||
}
|
}
|
||||||
|
|
||||||
do_install() {
|
do_install() {
|
||||||
|
|
Loading…
Add table
Reference in a new issue