1 # Maintainer: Thomas Dziedzic < gostrc at gmail >
2 # Contributor: Andrej Gelenberg <andrej.gelenberg@udo.edu>
3 # Contributor: Matt Portas <matt.r.portas(at)gmail(dot)com>
10 pkgdesc='A complete VHDL simulator, using GCC technology.'
11 url='http://ghdl.free.fr/'
14 makedepends=('gcc-ada')
15 source=("http://ghdl.free.fr/${pkgname}-${pkgver}.tar.bz2"
16 "ftp://gcc.gnu.org/pub/gcc/releases/gcc-${_gccver}/gcc-core-${_gccver}.tar.bz2"
18 md5sums=('fd3dc7a71ba521e442bef76f48177767'
19 '575b3220bb8e7060939c429fc8608d22'
20 '22cec272f9cc2801d3cd348feaca888b')
23 mv ${pkgname}-${pkgver}/vhdl gcc-${_gccver}/gcc
27 if [ ${CARCH} = 'x86_64' ]; then
28 patch -Np1 -i ${srcdir}/gcc_pure64.patch
33 --infodir=/usr/share/info \
35 --libexecdir=/usr/lib \
36 --mandir=/usr/share/man \
37 --enable-clocale=gnu \
38 --enable-languages=vhdl \
39 --enable-threads=posix \
40 --enable-__cxa_atexit \
42 --disable-libstdcxx-pch \
51 make -j1 DESTDIR=${pkgdir} install
54 rm ${pkgdir}/usr/bin/{cpp,gcc{,bug},gcov,${CHOST}-gcc{,-${_gccver}}}
55 rm ${pkgdir}/usr/share/man/man1/{cpp,gcc,gcov}.1
56 rm ${pkgdir}/usr/share/man/man7/{fsf-funding,gfdl,gpl}.7
57 rm ${pkgdir}/usr/share/info/{cpp{,internals},gcc{,install,int},libgomp}.info
58 rm ${pkgdir}/usr/lib/lib{iberty.a,gcc_s*,gomp*,mudflap*,ssp*}
59 rm -r ${pkgdir}/usr/{include,share/locale}