parent
bc17fcc640
commit
5b59aae2c9
1 changed files with 47 additions and 0 deletions
47
srcpkgs/arm-none-eabi-binutils/template
Normal file
47
srcpkgs/arm-none-eabi-binutils/template
Normal file
|
@ -0,0 +1,47 @@
|
||||||
|
# Template file for 'arm-none-eabi-binutils'
|
||||||
|
_triplet=arm-none-eabi
|
||||||
|
|
||||||
|
pkgname=${_triplet}-binutils
|
||||||
|
version=2.29.1
|
||||||
|
revision=1
|
||||||
|
short_desc="GNU binary utilties for arm"
|
||||||
|
maintainer="Thomas Bernard <thomas@famillebernardgouriou.fr>"
|
||||||
|
homepage="http://www.voidlinux.eu"
|
||||||
|
license="GPL-3"
|
||||||
|
distfiles="${GNU_SITE}/binutils/binutils-${version}.tar.bz2"
|
||||||
|
checksum="1509dff41369fb70aed23682351b663b56db894034773e6dbf7d5d6071fc55cc"
|
||||||
|
wrksrc="binutils-$version"
|
||||||
|
hostmakedepends="flex bison"
|
||||||
|
makedepends="zlib-devel"
|
||||||
|
|
||||||
|
do_configure() {
|
||||||
|
./configure \
|
||||||
|
--prefix=/usr \
|
||||||
|
--host=$XBPS_CROSS_TRIPLET \
|
||||||
|
--with-sysroot=/usr/${_triplet} \
|
||||||
|
--target=${_triplet} \
|
||||||
|
--disable-werror \
|
||||||
|
--enable-ld=default \
|
||||||
|
--enable-deterministic-archives \
|
||||||
|
--enable-gold \
|
||||||
|
--enable-plugins \
|
||||||
|
--enable-internetwork \
|
||||||
|
--with-gnu-as \
|
||||||
|
--with-gnu-ld \
|
||||||
|
--disable-nls
|
||||||
|
|
||||||
|
make configure-host
|
||||||
|
}
|
||||||
|
|
||||||
|
do_build() {
|
||||||
|
make ${makejobs} tooldir=/usr
|
||||||
|
}
|
||||||
|
|
||||||
|
do_install() {
|
||||||
|
make DESTDIR=${DESTDIR} install
|
||||||
|
}
|
||||||
|
|
||||||
|
post_install() {
|
||||||
|
rm -rf "$DESTDIR"/usr/share/info
|
||||||
|
rm -rf "$DESTDIR"/usr/share/locale
|
||||||
|
}
|
Loading…
Add table
Add a link
Reference in a new issue