mirror of
https://github.com/archlinuxarm/PKGBUILDs.git
synced 2024-12-08 23:03:46 +00:00
27 lines
809 B
Bash
27 lines
809 B
Bash
|
# $Id: PKGBUILD 82 2009-07-17 19:56:55Z aaron $
|
||
|
# Maintainer: Corrado Primier <bardo@aur.archlinux.org>
|
||
|
# Contributor: danst0 <danst0@west.de>
|
||
|
|
||
|
pkgname=avr-libc
|
||
|
pkgver=1.6.7
|
||
|
pkgrel=1
|
||
|
pkgdesc="The C runtime library for the AVR family of microcontrollers"
|
||
|
arch=('i686' 'x86_64')
|
||
|
url="http://savannah.nongnu.org/projects/avr-libc/"
|
||
|
license=('BSD')
|
||
|
depends=('gcc-avr')
|
||
|
source=(http://savannah.nongnu.org/download/avr-libc/${pkgname}-${pkgver}.tar.bz2)
|
||
|
md5sums=('1ccf8078e583d527392f079082f816b0')
|
||
|
|
||
|
build() {
|
||
|
cd ${srcdir}/${pkgname}-${pkgver}
|
||
|
./configure --build=$(./config.guess) --host=avr --prefix=/usr
|
||
|
make || return 1
|
||
|
make DESTDIR=${pkgdir} install || return 1
|
||
|
|
||
|
install -Dm644 ${srcdir}/${pkgname}-${pkgver}/LICENSE \
|
||
|
${pkgdir}/usr/share/licenses/${pkgname}/COPYING
|
||
|
}
|
||
|
|
||
|
# vim:set ts=2 sw=2 et:
|