diff options
-rw-r--r-- | libre/avr-libc/PKGBUILD | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/libre/avr-libc/PKGBUILD b/libre/avr-libc/PKGBUILD new file mode 100644 index 000000000..7dad9903f --- /dev/null +++ b/libre/avr-libc/PKGBUILD @@ -0,0 +1,25 @@ +# Maintainer: David P. <megver83@parabola.nu> + +pkgname=avr-libc +pkgver=2.0.0 +pkgrel=1 +pkgdesc='The C runtime library for the AVR family of microcontrollers' +arch=(any) +url='http://savannah.nongnu.org/projects/avr-libc/' +license=('custom:BSD') +depends=(avr-gcc) +options=('staticlibs' '!strip') +source=("http://download.savannah.gnu.org/releases/avr-libc/avr-libc-$pkgver.tar.bz2") +sha512sums=('fc8d062043d633350dbe05978935dcb8028257a4f1013f246af9658aef0671def19ac11577d1ee9302df68df1b8cf030b22441d96852e185db212263aacabea6') + +build() { + cd avr-libc-$pkgver + ./configure --build=$(./config.guess) --host=avr --prefix=/usr + make +} + +package() { + cd avr-libc-$pkgver + make DESTDIR=$pkgdir install + install -Dm644 LICENSE $pkgdir/usr/share/licenses/$pkgname/COPYING +} |