libelf: new package, gcc: tidy echo's, elfutils: update to .160 and remove typo (WIP)

This commit is contained in:
martell
2014-10-06 03:53:18 +01:00
parent bba570204f
commit 1d4e1c2f2a
3 changed files with 36 additions and 29 deletions

View File

@@ -1,7 +1,8 @@
# Maintainer: Ray Donnelly <mingw.android@gmail.com>
# Contributor: Martell Malone <martellmalone@gmail.com>
pkgname=elfutils
pkgver=0.159
pkgver=0.160
pkgrel=1
pkgdesc="Libraries and utilities to handle ELF object files and DWARF debugging information"
arch=('i686' 'x86_64')
@@ -13,7 +14,7 @@ replaces=('libelf')
conflicts=('libelf')
source=(https://fedorahosted.org/releases/e/l/elfutils/${pkgver}/elfutils-${pkgver}.tar.bz2)
options=('staticlibs')
sha1sums=('4ff214cdb95a10b03cf413f3d018393a838f98fc')
md5sums=('SKIP')
prepare() {
cd "${srcdir}/${pkgname}-${pkgver}"
@@ -31,11 +32,7 @@ build() {
make
}
check() {
}
package() {
cd ${srcdir}/${_realname}-${pkgver}
make install instroot="${pkgdir}"
}
md5sums=('SKIP')

View File

@@ -65,56 +65,39 @@ prepare() {
# Do not run fixincludes
#sed -i 's@\./fixinc\.sh@-c true@' gcc/Makefile.in
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
#MSYS/Cygwin patches
echo '4.7ada patch'
#Cygwin patches
patch -p2 -i ${srcdir}/4.7-ada.patch
echo 'boehm patch'
patch -p2 -i ${srcdir}/4.7-boehm-gc-cygwin.patch
echo 'stack'
patch -p2 -i ${srcdir}/4.7-execstack.patch
echo 'java awt'
patch -p2 -i ${srcdir}/4.7-java-awt.patch
echo 'fionread'
patch -p2 -i ${srcdir}/4.5-java-FIONREAD.patch
echo 'javajni'
patch -p2 -i ${srcdir}/4.7-java-jni.patch
echo 'java soname 4.8 patch'
patch -p0 -i ${srcdir}/4.8-java-soname.patch
echo 'libatonic 4.8 patch'
patch -p2 -i ${srcdir}/4.8-libatomic-cygwin.patch
echo 'libffi noinst'
patch -p2 -i ${srcdir}/4.7-libffi-noinst.patch
echo 'libffi cyg64'
patch -p2 -i ${srcdir}/4.8-libffi-cygwin64.patch
echo 'libgcc msys2'
patch -p1 -i ${srcdir}/gcc-4.8.0-libgcc-msys2.patch
echo 'libitm cyg'
patch -p2 -i ${srcdir}/4.7-libitm-cygwin.patch
echo '4.8lto'
patch -p2 -i ${srcdir}/4.8-lto-plugin-soname.patch
echo 'specs cyg'
patch -p0 -i ${srcdir}/4.8-specs-cygwin.patch
echo 'skip test'
patch -p2 -i ${srcdir}/4.5-skiptest.patch
if [ "$CARCH" = "i686" ]
then
patch -p0 -i ${srcdir}/4.8-gcc-ada-DTR.patch
fi
echo 'Wimp'
patch -p2 -i ${srcdir}/4.8-Wimplicit-decls.patch
echo 'con msys2'
#MSYS2 Patches
patch -p1 -i ${srcdir}/gcc-4.8.0-configure-msys2.patch
echo 'msys2 spec'
patch -p1 -i ${srcdir}/gcc-4.8.0-msys2-spec.patch
echo 'testsuite'
#patch -p1 -i ${srcdir}/gcc-4.8.0-testsuite-msys2.patch
mkdir ${srcdir}/gcc-build

27
libelf/PKGBUILD Normal file
View File

@@ -0,0 +1,27 @@
# Maintainer: Martell Malone <martellmalone@gmail.com>
pkgname="libelf"
pkgver=0.8.13
pkgrel=1
pkgdesc="ELF object file access library (mingw-w64)"
arch=('i686' 'x86_64')
license=('LGPL')
url="http://www.mr511.de/software/english.html"
options=('staticlibs')
source=("http://www.mr511.de/software/${pkgname}-${pkgver}.tar.gz")
md5sums=('4136d7b4c04df68b686570afa26988ac')
build() {
cd ${srcdir}/${pkgname}-${pkgver}
./configure \
--prefix=/usr \
--host=${CHOST}
make -j1 all
}
package() {
cd ${srcdir}/${pkgname}-${pkgver}
make install instroot="${pkgdir}"
}