avr-libc: enable cross-build.
This commit is contained in:
parent
99feb2a80f
commit
fce0e90b30
1 changed files with 3 additions and 4 deletions
|
@ -1,14 +1,13 @@
|
||||||
# Template file for 'avr-libc'
|
# Template file for 'avr-libc'
|
||||||
pkgname=avr-libc
|
pkgname=avr-libc
|
||||||
version=2.0.0
|
version=2.0.0
|
||||||
revision=1
|
revision=2
|
||||||
short_desc="A C library for use with GCC on Atmel AVR microcontrollers"
|
short_desc="A C library for use with GCC on Atmel AVR microcontrollers"
|
||||||
maintainer="allan <mail@may.mooo.com>"
|
maintainer="allan <mail@may.mooo.com>"
|
||||||
license="BSD"
|
license="BSD"
|
||||||
homepage="http://savannah.nongnu.org/projects/avr-libc/"
|
homepage="http://savannah.nongnu.org/projects/avr-libc/"
|
||||||
distfiles="$NONGNU_SITE/$pkgname/$pkgname-$version.tar.bz2"
|
distfiles="$NONGNU_SITE/$pkgname/$pkgname-$version.tar.bz2"
|
||||||
checksum=b2dd7fd2eefd8d8646ef6a325f6f0665537e2f604ed02828ced748d49dc85b97
|
checksum=b2dd7fd2eefd8d8646ef6a325f6f0665537e2f604ed02828ced748d49dc85b97
|
||||||
only_for_archs="i686 x86_64"
|
|
||||||
|
|
||||||
build_style=gnu-configure
|
build_style=gnu-configure
|
||||||
hostmakedepends="avr-binutils avr-gcc"
|
hostmakedepends="avr-binutils avr-gcc"
|
||||||
|
@ -20,6 +19,6 @@ do_configure() {
|
||||||
./configure --build=${XBPS_TRIPLET} --host=avr --prefix=/usr
|
./configure --build=${XBPS_TRIPLET} --host=avr --prefix=/usr
|
||||||
}
|
}
|
||||||
post_install() {
|
post_install() {
|
||||||
rm ${DESTDIR}/usr/bin/avr-man
|
rm ${DESTDIR}/usr/bin/avr-man
|
||||||
vlicense LICENSE
|
vlicense LICENSE
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue