void-packages/srcpkgs/avr-binutils/template

22 lines
746 B
Bash

# Template file for 'avr-binutils'
pkgname=avr-binutils
version=2.32
revision=1
build_style=gnu-configure
configure_args="--disable-werror --enable-shared --enable-gold
--enable-plugins --enable-install-libbfd --target=avr --with-pic"
make_install_args="tooldir=/usr"
makedepends="zlib-devel"
short_desc="GNU binary utilities for AVR"
maintainer="Orphaned <orphan@voidlinux.org>"
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}
}