[arch-commits] Commit in arm-none-eabi-newlib/trunk (PKGBUILD)
Anatol Pomozov
anatolik at archlinux.org
Tue Dec 30 20:55:37 UTC 2014
Date: Tuesday, December 30, 2014 @ 21:55:37
Author: anatolik
Revision: 125035
upgpkg: arm-none-eabi-newlib 2.2.0-1
Modified:
arm-none-eabi-newlib/trunk/PKGBUILD
----------+
PKGBUILD | 19 +++++++++----------
1 file changed, 9 insertions(+), 10 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2014-12-30 20:51:15 UTC (rev 125034)
+++ PKGBUILD 2014-12-30 20:55:37 UTC (rev 125035)
@@ -3,17 +3,16 @@
_target=arm-none-eabi
pkgname=$_target-newlib
-pkgver=2.1.0
-pkgrel=3
+pkgver=2.2.0
+pkgrel=1
pkgdesc='A C standard library implementation intended for use on embedded systems (ARM bare metal)'
arch=(any)
url='http://www.sourceware.org/newlib/'
license=(BSD)
-makedepends=($_target-gcc git)
-options=(!emptydirs !strip staticlibs !buildflags)
-# newlib 2.1.0 does not have newlib-nano integrated yet. Let's use the latest HEAD until 2.1.1 release.
-source=(git://sourceware.org/git/newlib.git#commit=0daa4d6f9b06af8530e50d0dce793ef9a5292aec)
-sha1sums=('SKIP')
+makedepends=($_target-gcc)
+options=(!emptydirs !strip)
+source=(ftp://sourceware.org/pub/newlib/newlib-$pkgver.tar.gz)
+sha1sums=('16fc7bc82e445341b9e741a3fc57b818691fa375')
build() {
rm -rf build-{newlib,nano}
@@ -21,7 +20,7 @@
export CFLAGS_FOR_TARGET='-g -O2 -ffunction-sections -fdata-sections'
cd "$srcdir"/build-newlib
- ../newlib/configure \
+ ../newlib-$pkgver/configure \
--target=$_target \
--prefix=/usr \
--disable-newlib-supplied-syscalls \
@@ -32,7 +31,7 @@
export CFLAGS_FOR_TARGET='-g -Os -ffunction-sections -fdata-sections'
cd "$srcdir"/build-nano
- ../newlib/configure \
+ ../newlib-$pkgver/configure \
--target=$_target \
--prefix=/usr \
--disable-newlib-supplied-syscalls \
@@ -61,5 +60,5 @@
rm "$pkgdir"/usr/share/info/*.info
install -d "$pkgdir"/usr/share/licenses/$pkgname/
- install -m644 -t "$pkgdir"/usr/share/licenses/$pkgname/ "$srcdir"/newlib/COPYING*
+ install -m644 -t "$pkgdir"/usr/share/licenses/$pkgname/ "$srcdir"/newlib-$pkgver/COPYING*
}
More information about the arch-commits
mailing list