summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNicolás Reynolds <fauno@parabola.nu>2013-07-04 11:16:34 -0300
committerNicolás Reynolds <fauno@parabola.nu>2013-07-04 11:16:34 -0300
commit35bc3ed346f35a5d6067555a09ffff1f74b8b9ee (patch)
tree8a25770a98e0d8a58710ccfbb22f9d18b0115699
parent2423924f59a5db5b31bab779d319f9a34bf47a26 (diff)
parent0b8227cbc38c4bdad7b63290d0312eabf65b9b54 (diff)
downloadabslibre-35bc3ed346f35a5d6067555a09ffff1f74b8b9ee.tar.gz
abslibre-35bc3ed346f35a5d6067555a09ffff1f74b8b9ee.tar.bz2
abslibre-35bc3ed346f35a5d6067555a09ffff1f74b8b9ee.zip
Merge branch 'master' of vparabola:abslibre
-rw-r--r--libre/icecat-noscript/PKGBUILD8
-rw-r--r--libre/iceweasel-noscript/PKGBUILD8
-rw-r--r--libre/kdebase-konqueror-libre/PKGBUILD6
-rw-r--r--libre/kdebase-runtime-libre/PKGBUILD6
-rw-r--r--libre/kdelibs-libre/PKGBUILD6
-rw-r--r--libre/kdenetwork-kopete-libre/PKGBUILD12
-rw-r--r--libre/kdepim-libre/PKGBUILD6
-rw-r--r--libre/kdeutils-ark-libre/PKGBUILD6
-rw-r--r--libre/linux-libre-firmware/PKGBUILD38
-rw-r--r--libre/xtensa-unknown-elf-binutils/PKGBUILD48
-rw-r--r--libre/xtensa-unknown-elf-gcc/PKGBUILD58
11 files changed, 68 insertions, 134 deletions
diff --git a/libre/icecat-noscript/PKGBUILD b/libre/icecat-noscript/PKGBUILD
index 1a0e3ddd0..3f83618e0 100644
--- a/libre/icecat-noscript/PKGBUILD
+++ b/libre/icecat-noscript/PKGBUILD
@@ -1,11 +1,11 @@
-# $Id: PKGBUILD 90901 2013-05-15 12:56:28Z spupykin $
+# $Id: PKGBUILD 93410 2013-07-03 10:50:31Z spupykin $
# Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com>
# Maintainer (Parabola): André Silva <emulatorman@lavabit.com>
_pkgname=firefox-noscript
pkgname=icecat-noscript
-pkgver=2.6.6
-pkgrel=2
+pkgver=2.6.6.7
+pkgrel=1
pkgdesc="plugin for icecat which disables script"
arch=('any')
url="http://noscript.net/"
@@ -14,7 +14,7 @@ depends=()
provides=$_pkgname=$pkgver
makedepends=('unzip')
source=(https://secure.informaction.com/download/releases/noscript-$pkgver.xpi)
-md5sums=('a018efb1fe0f722ff307382791bf3c98')
+md5sums=('10b6704f34568d226fb5fe69b7d6043d')
package() {
# _ffver=`pacman -Q icecat | cut -f2 -d\ | cut -f1 -d-`
diff --git a/libre/iceweasel-noscript/PKGBUILD b/libre/iceweasel-noscript/PKGBUILD
index 7db206be9..2d5f48040 100644
--- a/libre/iceweasel-noscript/PKGBUILD
+++ b/libre/iceweasel-noscript/PKGBUILD
@@ -1,11 +1,11 @@
-# $Id: PKGBUILD 90901 2013-05-15 12:56:28Z spupykin $
+# $Id: PKGBUILD 93410 2013-07-03 10:50:31Z spupykin $
# Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com>
# Maintainer (Parabola): André Silva <emulatorman@lavabit.com>
_pkgname=firefox-noscript
pkgname=iceweasel-noscript
-pkgver=2.6.6
-pkgrel=2
+pkgver=2.6.6.7
+pkgrel=1
pkgdesc="plugin for iceweasel which disables script"
arch=('any')
url="http://noscript.net/"
@@ -14,7 +14,7 @@ depends=()
provides=$_pkgname=$pkgver
makedepends=('unzip')
source=(https://secure.informaction.com/download/releases/noscript-$pkgver.xpi)
-md5sums=('a018efb1fe0f722ff307382791bf3c98')
+md5sums=('10b6704f34568d226fb5fe69b7d6043d')
package() {
# _ffver=`pacman -Q iceweasel-libre | cut -f2 -d\ | cut -f1 -d-`
diff --git a/libre/kdebase-konqueror-libre/PKGBUILD b/libre/kdebase-konqueror-libre/PKGBUILD
index d5a72e95c..f1264b0c7 100644
--- a/libre/kdebase-konqueror-libre/PKGBUILD
+++ b/libre/kdebase-konqueror-libre/PKGBUILD
@@ -1,4 +1,4 @@
-# $Id: PKGBUILD 186956 2013-06-01 13:20:19Z andrea $
+# $Id: PKGBUILD 189302 2013-07-02 21:26:19Z andrea $
# Maintainer: Andrea Scarpino <andrea@archlinux.org>
# Contributor: Pierre Schmitz <pierre@archlinux.de>
# Maintainer (Parabola): Michał Masłowski <mtjm@mtjm.eu>
@@ -6,7 +6,7 @@
_pkgname='kdebase-konqueror'
pkgname='kdebase-konqueror-libre'
-pkgver=4.10.4
+pkgver=4.10.5
pkgrel=1
arch=('i686' 'x86_64' 'mips64el')
url="http://kde.org/applications/internet/konqueror/"
@@ -15,7 +15,7 @@ groups=('kde' 'kdebase')
makedepends=('kdelibs' 'cmake' 'automoc4' 'tidyhtml' 'nepomuk-widgets')
source=("http://download.kde.org/stable/${pkgver}/src/kde-baseapps-${pkgver}.tar.xz"
"konq-about-fsdg.diff")
-sha1sums=('5465fffdaea70a5ca225283f45b9504775d0432d'
+sha1sums=('3953c441d508408becfbb1177d3a834775b92bf6'
'd6cbb53c04179b8180f9439eca156b7ff2e76b3a')
pkgdesc='KDE File Manager & Web Browser, without Google and nonfree software recommendation'
depends=('kdebase-dolphin' 'kdebase-keditbookmarks')
diff --git a/libre/kdebase-runtime-libre/PKGBUILD b/libre/kdebase-runtime-libre/PKGBUILD
index 4b6f40af9..224d304e1 100644
--- a/libre/kdebase-runtime-libre/PKGBUILD
+++ b/libre/kdebase-runtime-libre/PKGBUILD
@@ -1,11 +1,11 @@
-# $Id: PKGBUILD 186956 2013-06-01 13:20:19Z andrea $
+# $Id: PKGBUILD 189302 2013-07-02 21:26:19Z andrea $
# Maintainer: Andrea Scarpino <andrea@archlinux.org>
# Contributor: Pierre Schmitz <pierre@archlinux.de>
# Maintainer (Parabola): André Silva <emulatorman@lavabit.com>
_pkgname=kdebase-runtime
pkgname=kdebase-runtime-libre
-pkgver=4.10.4
+pkgver=4.10.5
pkgrel=1
pkgdesc="Plugins and applications necessary for the running of KDE applications, without non-privacy search providers"
arch=('i686' 'x86_64' 'mips64el')
@@ -26,7 +26,7 @@ install="${_pkgname}.install"
source=("http://download.kde.org/stable/${pkgver}/src/kde-runtime-${pkgver}.tar.xz"
'duckduckgo_html.desktop'
'duckduckgo_lite.desktop')
-sha1sums=('f406c8c9e42c2508a7acf88b9719f5fa5b4683a1'
+sha1sums=('1d472ceff3a38ff778803817b9c0eeb5b1880db6'
'aa6f39f4b0ad3c110fd05cd6c41190afae9773dd'
'ac3bac94a2c4b1444642524bc5fb539c4c5dcc5b')
diff --git a/libre/kdelibs-libre/PKGBUILD b/libre/kdelibs-libre/PKGBUILD
index ea698dfd7..8cdf5228e 100644
--- a/libre/kdelibs-libre/PKGBUILD
+++ b/libre/kdelibs-libre/PKGBUILD
@@ -1,11 +1,11 @@
-# $Id: PKGBUILD 186956 2013-06-01 13:20:19Z andrea $
+# $Id: PKGBUILD 189302 2013-07-02 21:26:19Z andrea $
# Maintainer: Andrea Scarpino <andrea@archlinux.org
# Contributor: Pierre Schmitz <pierre@archlinux.de>
# Maintainer (Parabola): André Silva <emulatorman@lavabit.com>
_pkgname=kdelibs
pkgname=kdelibs-libre
-pkgver=4.10.4
+pkgver=4.10.5
pkgrel=1
pkgdesc="KDE Core Libraries"
arch=('i686' 'x86_64' 'mips64el')
@@ -24,7 +24,7 @@ install=${_pkgname}.install
source=("http://download.kde.org/stable/${pkgver}/src/${_pkgname}-${pkgver}.tar.xz"
'kde-applications-menu.patch' 'qt4.patch'
'khtml-fsdg.diff')
-sha1sums=('b5db1b91bd96b44ebd1b5e71019bb95b59775237'
+sha1sums=('6caab0c70ab742dd711b44dd3f9bfdcbf9be31eb'
'86ee8c8660f19de8141ac99cd6943964d97a1ed7'
'ed1f57ee661e5c7440efcaba7e51d2554709701c'
'a1502a964081ad583a00cf90c56e74bf60121830')
diff --git a/libre/kdenetwork-kopete-libre/PKGBUILD b/libre/kdenetwork-kopete-libre/PKGBUILD
index 89ed6edf3..3b4295415 100644
--- a/libre/kdenetwork-kopete-libre/PKGBUILD
+++ b/libre/kdenetwork-kopete-libre/PKGBUILD
@@ -1,12 +1,12 @@
-# $Id: PKGBUILD 188552 2013-06-15 11:11:13Z andrea $
+# $Id: PKGBUILD 189302 2013-07-02 21:26:19Z andrea $
# Maintainer: Andrea Scarpino <andrea@archlinux.org>
# Contributor: Pierre Schmitz <pierre@archlinux.de>
# Maintainer (Parabola): André Silva <emulatorman@lavabit.com>
pkgbase=kdenetwork
pkgname=('kdenetwork-kopete-libre')
-pkgver=4.10.4
-pkgrel=2
+pkgver=4.10.5
+pkgrel=1
arch=('i686' 'x86_64' 'mips64el')
url='http://www.kde.org'
license=('GPL' 'LGPL' 'FDL')
@@ -17,7 +17,7 @@ makedepends=('cmake' 'automoc4' 'boost' 'speex' 'ortp' 'libotr3' 'ppp'
'libktorrent' 'libmms' 'telepathy-qt')
source=("http://download.kde.org/stable/${pkgver}/src/${pkgbase}-${pkgver}.tar.xz"
'use-libotr3.patch')
-sha1sums=('891277c8dcbf231452947e9b4c54324bad35fd1a'
+sha1sums=('3ee86a1a227593e9f37881da3c1db1a3c384b2e4'
'9c3b0ee15538fbfa36aa0a4748b1f6b5a7905384')
prepare() {
@@ -27,7 +27,7 @@ prepare() {
# Based on http://bzr.trisquel.info/package-helpers/trunk/annotate/head%3A/helpers/natty/make-kdenetwork, revision 34.
sed -i 's/Skype protocol" ON/Skype protocol" OFF/g' "${pkgbase}-${pkgver}/kopete/protocols/CMakeLists.txt"
rm -rf "${pkgbase}-${pkgver}/kopete/protocols/skype"
- sed 's/, Skype//' -i "${pkgbase}-${pkgver}/doc/kopete/index.docbook"
+ sed 's/, Skype//' -i "${pkgbase}-${pkgver}/kopete/doc/index.docbook"
}
build() {
@@ -56,6 +56,6 @@ package_kdenetwork-kopete-libre() {
install='kdenetwork-kopete.install'
cd $srcdir/build/kopete
make DESTDIR=$pkgdir install
- cd $srcdir/build/doc/kopete
+ cd $srcdir/build/kopete/doc
make DESTDIR=$pkgdir install
}
diff --git a/libre/kdepim-libre/PKGBUILD b/libre/kdepim-libre/PKGBUILD
index 007ed7f74..3f9b3ce28 100644
--- a/libre/kdepim-libre/PKGBUILD
+++ b/libre/kdepim-libre/PKGBUILD
@@ -1,4 +1,4 @@
-# $Id: PKGBUILD 186956 2013-06-01 13:20:19Z andrea $
+# $Id: PKGBUILD 189302 2013-07-02 21:26:19Z andrea $
# Maintainer: Andrea Scarpino <andrea@archlinux.org>
# Contributor: Pierre Schmitz <pierre@archlinux.de>
# Maintainer (Parabola): André Silva <emulatorman@lavabit.com>
@@ -22,7 +22,7 @@ pkgname=('kdepim-akonadiconsole-libre'
'kdepim-ktimetracker-libre'
'kdepim-ktnef-libre'
'kdepim-libkdepim-libre')
-pkgver=4.10.4
+pkgver=4.10.5
pkgrel=1
arch=('i686' 'x86_64' 'mips64el')
url='http://pim.kde.org'
@@ -31,7 +31,7 @@ groups=('kde' 'kdepim-libre')
makedepends=('cmake' 'automoc4' 'boost' 'kdepim-runtime' 'libxss'
'kde-agent' 'nepomuk-widgets')
source=("http://download.kde.org/stable/${pkgver}/src/${_pkgbase}-${pkgver}.tar.xz")
-sha1sums=('b1b8bdefd8a7b21c3a4518285ef8fd73890e8cf3')
+sha1sums=('a7c791e748558a194d020104dc62604ee9f632ae')
build() {
mkdir build
diff --git a/libre/kdeutils-ark-libre/PKGBUILD b/libre/kdeutils-ark-libre/PKGBUILD
index 6b7a264ae..5efee348d 100644
--- a/libre/kdeutils-ark-libre/PKGBUILD
+++ b/libre/kdeutils-ark-libre/PKGBUILD
@@ -1,10 +1,10 @@
-# $Id: PKGBUILD 186956 2013-06-01 13:20:19Z andrea $
+# $Id: PKGBUILD 189302 2013-07-02 21:26:19Z andrea $
# Maintainer: Andrea Scarpino <andrea@archlinux.org>
# Maintainer (Parabola): André Silva <emulatorman@lavabit.com>
_pkgname=kdeutils-ark
pkgname=kdeutils-ark-libre
-pkgver=4.10.4
+pkgver=4.10.5
pkgrel=1
pkgdesc='Archiving Tool, with unar support'
url='http://kde.org/applications/utilities/ark/'
@@ -20,7 +20,7 @@ replaces=('kdeutils-ark')
conflicts=('kdeutils-ark')
source=("http://download.kde.org/stable/${pkgver}/src/ark-${pkgver}.tar.xz"
'ark-unar-06.patch')
-sha1sums=('3b98f04817a31b14b8899ddf024b03ff14420ea7'
+sha1sums=('8c50a864af0dbf62e3df46414c7bf9cd1d8c8620'
'a0a836950f185d9b2245204579f969203036fdec')
build() {
diff --git a/libre/linux-libre-firmware/PKGBUILD b/libre/linux-libre-firmware/PKGBUILD
index 4b46592d0..4983604a4 100644
--- a/libre/linux-libre-firmware/PKGBUILD
+++ b/libre/linux-libre-firmware/PKGBUILD
@@ -2,14 +2,15 @@
# Contributor: Márcio Silva <coadde@lavabit.com>
pkgname=linux-libre-firmware
-pkgver=3.9
-pkgrel=2
+_pkgver=3.9
+pkgver=$(LC_ALL=C date -u +%Y%m%d)
+pkgrel=1
pkgdesc='Free firmware files for Linux-libre'
arch=('any')
url=('http://linux-libre.fsfla.org/'
'http://wireless.kernel.org/en/users/Drivers/ath9k_htc')
license=('GPL2' 'BSD')
-makedepends=('git' 'wget')
+makedepends=('git' 'xtensa-unknown-elf-gcc')
provides=('linux-firmware'
'kernel26-firmware=2.6.34.99')
conflicts=('linux-firmware'
@@ -37,41 +38,29 @@ replaces=('linux-firmware'
'rt2870usb-fw'
'rt2x00-rt61-fw'
'rt2x00-rt71w-fw')
-source=("http://linux-libre.fsfla.org/pub/linux-libre/releases/$pkgver-gnu/linux-libre-$pkgver-gnu.tar.xz"
+source=("http://linux-libre.fsfla.org/pub/linux-libre/releases/$_pkgver-gnu/linux-libre-$_pkgver-gnu.tar.xz"
"git://github.com/qca/open-ath9k-htc-firmware")
md5sums=('120df29f88622dabf7015a22c7cc8e25'
'SKIP')
-prepare() {
-
- cd $srcdir/open-ath9k-htc-firmware
-
- # disable build error
- sed -i 's|GMP,|GMP,\n\t\t--disable-werror, \\\n\t\t--disable-fatal-warnings,|;
- s|MPFR,|MPFR,\n\t\t--disable-werror, \\\n\t\t--disable-fatal-warnings,|;
- s|MPC,|MPC,\n\t\t--disable-werror, \\\n\t\t--disable-fatal-warnings,|;
- s|BINUTILS,|BINUTILS,\n\t\t--disable-werror, \\\n\t\t--disable-fatal-warnings,|;
- s|GCC,|GCC,\n\t\t--disable-werror, \\\n\t\t--disable-fatal-warnings,|;
- ' Makefile
-
- # prepare toolchain to compile ath9k-htc firmware
- make toolchain
-
-}
-
build() {
cd $srcdir/open-ath9k-htc-firmware
# create firmware folder to put the free firmware files there
- mkdir -p $pkgdir/usr/lib/firmware
+ install -d -m755 $pkgdir/usr/lib/firmware
+
+ # fix path on configure file
+ sed -i 's|$PWD/../toolchain/inst|/usr|;
+ 's|xtensa-elf|xtensa-unknown-elf|;
+ ' target_firmware/configure
# compile ath9k-htc-firmware
make -C target_firmware
mv htc_{7010,9271}.fw $pkgdir/usr/lib/firmware
- cd $srcdir/linux-$pkgver
+ cd $srcdir/linux-$_pkgver
# compile free firmware files of linux-libre source code
make INSTALL_FW_PATH=$pkgdir/usr/lib/firmware firmware_install
@@ -80,6 +69,7 @@ build() {
package() {
+ # create licenses folder to put the licenses files there
install -d -m755 $pkgdir/usr/share/licenses/$pkgname
# move LICENSE.TXT from ath9k-htc firmware to linux-firmware license folder
@@ -87,7 +77,7 @@ package() {
mv LICENSE.TXT $pkgdir/usr/share/licenses/$pkgname/LICENCE.atheros_firmware
# move WHENCE file to linux-firmware license folder
- cd $srcdir/linux-$pkgver
+ cd $srcdir/linux-$_pkgver
mv firmware/WHENCE $pkgdir/usr/share/licenses/$pkgname
}
diff --git a/libre/xtensa-unknown-elf-binutils/PKGBUILD b/libre/xtensa-unknown-elf-binutils/PKGBUILD
index 2e29d1ff4..deb8d4b0e 100644
--- a/libre/xtensa-unknown-elf-binutils/PKGBUILD
+++ b/libre/xtensa-unknown-elf-binutils/PKGBUILD
@@ -1,22 +1,20 @@
# $Id: PKGBUILD 182407 2013-04-10 07:34:20Z allan $
# Maintainer: Allan McRae <allan@archlinux.org>
# Maintainer (Parabola): André Silva <emulatorman@lavabit.com>
-# Contributor (Parabola): Márcio Silva <coadde@lavabit.com>
+# Maintainer (Parabola): Márcio Silva <coadde@lavabit.com>
_pkgname=binutils
_target="xtensa-unknown-elf"
-_sysroot="/usr/$CHOST/${_target}"
pkgname=${_target}-binutils
pkgver=2.23.2
-pkgrel=2.3
+pkgrel=2.4
pkgdesc="A set of programs to assemble and manipulate binary and object files for the Xtensa architecture"
arch=('i686' 'x86_64' 'mips64el')
url="http://www.gnu.org/software/binutils/"
license=('GPL')
groups=("${_target}-base-devel")
depends=('glibc>=2.17' 'zlib')
-checkdepends=('dejagnu' 'bc')
options=('!libtool' '!distcc' '!ccache')
install=${_target}-binutils.install
source=(ftp://ftp.gnu.org/gnu/binutils/binutils-${pkgver}.tar.bz2{,.sig}
@@ -41,16 +39,13 @@ prepare() {
build() {
cd ${srcdir}/binutils-build
- CFLAGS=" -pipe " \
- CXXFLAGS=" -pipe " \
${srcdir}/binutils-${pkgver}/configure --prefix=/usr \
+ --target=${_target} \
+ --disable-nls \
--with-lib-path=/usr/lib:/usr/local/lib \
--with-bugurl=https://labs.parabola.nu/ \
- --enable-ld=default --enable-gold \
- --enable-plugins --enable-threads \
- --with-pic --enable-shared \
- --disable-werror --disable-multilib \
- --target=${_target}
+ --enable-shared \
+ --disable-werror --disable-multilib
# check the host environment and makes sure all the necessary tools are available
make configure-host
@@ -58,39 +53,16 @@ build() {
make tooldir=/usr
}
-check() {
- cd ${srcdir}/binutils-build
-
- # unset LDFLAGS as testsuite makes assumptions about which ones are active
- # do not abort on errors - manually check log files
- make LDFLAGS="" -k check || true
-}
-
package() {
cd ${srcdir}/binutils-build
make prefix=${pkgdir}/usr tooldir=${pkgdir}/usr install
-
- # Add some useful headers
- install -m644 ${srcdir}/binutils-${pkgver}/include/libiberty.h ${pkgdir}/usr/include
- install -m644 ${srcdir}/binutils-${pkgver}/include/demangle.h ${pkgdir}/usr/include
-
- # Install PIC libiberty.a
- install -m644 libiberty/pic/libiberty.a ${pkgdir}/usr/lib
# Remove unwanted files
rm ${pkgdir}/usr/share/man/man1/${_target}-{dlltool,nlmconv,windres,windmc}*
- rm ${pkgdir}/usr/share/info/{configure,standards}.info
# Remove unnecessary files and folders
- rm -f $pkgdir/usr/bin/ar
- rm -f $pkgdir/usr/bin/as
- rm -f $pkgdir/usr/bin/ld
- rm -f $pkgdir/usr/bin/nm
- rm -f $pkgdir/usr/bin/objdump
- rm -f $pkgdir/usr/bin/ranlib
- rm -f $pkgdir/usr/bin/strip
- rm -f $pkgdir/usr/bin/objcopy
- rm -f $pkgdir/usr/include
- rm -f $pkgdir/usr/lib/libiberty.a
- rm -rf $pkgdir/usr/share
+ rm $pkgdir/usr/bin/{a{r,s},nm,obj{copy,dump},ranlib,strip}
+ rm $pkgdir/usr/lib/libiberty.a
+ rm $pkgdir/usr/$CHOST/${_target}/include/* && rmdir $pkgdir/usr/$CHOST/${_target}/include
+ rm $pkgdir/usr/share/info/* && rmdir $pkgdir/usr/share/info
}
diff --git a/libre/xtensa-unknown-elf-gcc/PKGBUILD b/libre/xtensa-unknown-elf-gcc/PKGBUILD
index 6081151b7..797f67f9e 100644
--- a/libre/xtensa-unknown-elf-gcc/PKGBUILD
+++ b/libre/xtensa-unknown-elf-gcc/PKGBUILD
@@ -10,7 +10,6 @@ _sysroot="/usr/$CHOST/${_target}"
pkgname=${_target}-gcc
pkgver=4.8.1
pkgrel=1
-#_snapshot=4.8-20130502
pkgdesc="The GNU Compiler Collection for Xtensa processors"
arch=('i686' 'x86_64' 'mips64el')
license=('GPL' 'LGPL' 'FDL' 'custom')
@@ -19,15 +18,9 @@ makedepends=("binutils>=2.23" 'libmpc' 'cloog' 'gcc-ada' 'doxygen')
checkdepends=('dejagnu' 'inetutils')
options=('!libtool' '!emptydirs')
source=(ftp://gcc.gnu.org/pub/gcc/releases/gcc-${pkgver}/gcc-${pkgver}.tar.bz2)
- #ftp://gcc.gnu.org/pub/gcc/snapshots/${_snapshot}/gcc-${_snapshot}.tar.bz2
md5sums=('3b2386c114cd74185aa3754b58a79304')
-
-if [ -n "${_snapshot}" ]; then
- _basedir=gcc-${_snapshot}
-else
- _basedir=gcc-${pkgver}
-fi
+_basedir=gcc-${pkgver}
prepare() {
cd ${srcdir}/${_basedir}
@@ -40,28 +33,23 @@ prepare() {
echo ${pkgver} > gcc/BASE-VER
- # hack! - some configure tests for header files using "$CPP $CPPFLAGS"
- sed -i "/ac_cpp=/s/\$CPPFLAGS/\$CPPFLAGS -O2/" {libiberty,gcc}/configure
-
mkdir ${srcdir}/gcc-build
}
build() {
cd ${srcdir}/gcc-build
- # using -pipe causes spurious test-suite failures
- # http://gcc.gnu.org/bugzilla/show_bug.cgi?id=48565
- CFLAGS=${CFLAGS/-pipe/}
- CXXFLAGS=${CXXFLAGS/-pipe/}
-
- LD_LIBRARY_PATH=/usr/lib ${srcdir}/${_basedir}/configure --prefix=/usr \
- --disable-shared --disable-threads --disable-multilib \
- --enable-languages=c \
- --disable-nls \
- --target=$_target
-# --build=x86_64-unknown-linux-gnu \
-# --without-headers \
-# --disable-multilib --disable-libssp --disable-werror \
+ ${srcdir}/${_basedir}/configure --prefix=/home/marcio/src/xtensa-elf/tools \
+ --target=${_target} \
+ --disable-multilib \
+ --disable-nls \
+ --disable-shared \
+ --disable-threads \
+ --enable-languages=c \
+ --disable-libquadmath \
+ --disable-libssp \
+ --with-newlib
+# --disable-werror \
# --libdir=/usr/lib --libexecdir=/usr/lib \
# --mandir=/usr/share/man --infodir=/usr/share/info \
# --with-bugurl=https://labs.parabola.nu/ \
@@ -74,30 +62,14 @@ build() {
# --enable-lto --enable-gold --enable-ld=default \
# --enable-plugin --with-plugin-ld=ld.gold \
# --with-linker-hash-style=gnu --disable-install-libiberty \
-# --with-as=/usr/bin/${_target}-as --with-ld=/usr/bin/${_target}-ld \
-# --disable-multilib --disable-libssp --disable-werror \
# --enable-checking=release \
-# --target=${_target} \
-# --with-newlib
- make
-
+ make all-gcc
+
# make documentation
cd ${_target}/libstdc++-v3
make doc-man-doxygen
}
-check() {
- cd ${srcdir}/gcc-build
-
- # increase stack size to prevent test failures
- # http://gcc.gnu.org/bugzilla/show_bug.cgi?id=31827
- ulimit -s 32768
-
- # do not abort on error as some are "expected"
- make -k check || true
- ${srcdir}/${_basedir}/contrib/test_summary
-}
-
package()
{
pkgdesc="The GNU Compiler Collection"
@@ -107,7 +79,7 @@ package()
cd ${srcdir}/gcc-build
- make -j1 DESTDIR=${pkgdir} install
+ make -j1 DESTDIR=${pkgdir} install-gcc
install -d $pkgdir/usr/share/gdb/auto-load/usr/lib
mv $pkgdir{,/usr/share/gdb/auto-load}/usr/lib/libstdc++.so.6.0.18-gdb.py