summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid P <megver83@parabola.nu>2020-03-29 16:47:51 -0300
committerDavid P <megver83@parabola.nu>2020-03-29 16:47:51 -0300
commit13b73a2ed81c0d116b04d118f04b93c9ceb5b286 (patch)
treefc09eb51b0ccb8856b164436c54eff49711a5bec
parent8276e729ba0d9d8265c9bb759e2b3ea00de65f7f (diff)
downloadabslibre-13b73a2ed81c0d116b04d118f04b93c9ceb5b286.tar.gz
abslibre-13b73a2ed81c0d116b04d118f04b93c9ceb5b286.tar.bz2
abslibre-13b73a2ed81c0d116b04d118f04b93c9ceb5b286.zip
addpkg: libre/avr-libc 2.0.0-1
Signed-off-by: David P <megver83@parabola.nu>
-rw-r--r--libre/avr-libc/PKGBUILD25
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
+}