23 lines
822 B
Bash
23 lines
822 B
Bash
# Template file for 'avr-binutils'
|
|
pkgname=avr-binutils
|
|
version=2.32
|
|
revision=1
|
|
wrksrc="binutils-$version"
|
|
build_style=gnu-configure
|
|
configure_args="--disable-werror --enable-shared --enable-gold
|
|
--enable-plugins --enable-install-libbbfd --build=${XBPS_TRIPLET}
|
|
--host=${XBPX_CROSS_TRIPLET} --target=avr --with-pic"
|
|
make_install_args="tooldir=/usr"
|
|
makedepends="zlib-devel"
|
|
short_desc="GNU binary utilities for AVR"
|
|
maintainer="allan <mail@may.mooo.com>"
|
|
license="GPL-3.0-only"
|
|
homepage="http://www.gnu.org/software/binutils/"
|
|
distfiles="$GNU_SITE/binutils/binutils-$version.tar.xz"
|
|
checksum=0ab6c55dd86a92ed561972ba15b9b70a8b9f75557f896446c82e8b36e473ee04
|
|
|
|
post_install() {
|
|
rm -rf "$DESTDIR"/usr/share/info \
|
|
"$DESTDIR"/usr/share/locale \
|
|
"$DESTDIR"/usr/bin/{ar,as,nm,objcopy,objdump,ranlib,strip,readelf}
|
|
}
|