Date: Monday, August 11, 2014 @ 14:36:45 Author: fyan Revision: 117167
upgpkg: libtommath 0.42.0-4 re-enable static lib and fix pkgbuild to build a shared lib, fixes FS#41204 Modified: libtommath/trunk/PKGBUILD libtommath/trunk/libtommath-0.42.0-makefile.patch ----------------------------------+ PKGBUILD | 8 +++++--- libtommath-0.42.0-makefile.patch | 11 +++++++---- 2 files changed, 12 insertions(+), 7 deletions(-) Modified: PKGBUILD =================================================================== --- PKGBUILD 2014-08-11 12:32:32 UTC (rev 117166) +++ PKGBUILD 2014-08-11 12:36:45 UTC (rev 117167) @@ -5,15 +5,17 @@ pkgname=libtommath pkgver=0.42.0 -pkgrel=3 +pkgrel=4 pkgdesc="Highly optimized and portable routines for integer based number theoretic applications" url="http://www.libtom.org/" license=('custom') arch=('i686' 'x86_64') +depends=('glibc') +options=(staticlibs) source=("http://libtom.org/files/ltm-${pkgver}.tar.bz2" 'libtommath-0.42.0-makefile.patch') md5sums=('7380da904b020301be7045cb3a89039b' - 'd50c26fdc5aa87e6acfd4adc20557ff4') + 'ff127effd4418073a16ffb5df45a1bcb') build() { cd $srcdir/$pkgname-$pkgver @@ -26,7 +28,7 @@ package() { cd $srcdir/$pkgname-$pkgver - make DESTDIR=$pkgdir INSTALL_GROUP=root install + make -f makefile.shared DESTDIR=$pkgdir INSTALL_GROUP=root install install -Dm644 LICENSE "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE" chmod 644 ${pkgdir}/usr/lib/libtommath.a } Modified: libtommath-0.42.0-makefile.patch =================================================================== --- libtommath-0.42.0-makefile.patch 2014-08-11 12:32:32 UTC (rev 117166) +++ libtommath-0.42.0-makefile.patch 2014-08-11 12:36:45 UTC (rev 117167) @@ -1,8 +1,11 @@ ---- a/makefile.shared -+++ b/makefile.shared -@@ -3,7 +3,7 @@ +--- a/makefile.shared 2010-07-23 22:27:20.000000000 +0800 ++++ b/makefile.shared 2014-08-11 20:25:06.482017927 +0800 +@@ -1,9 +1,9 @@ + #Makefile for GCC + # #Tom St Denis - VERSION=0:41 +-VERSION=0:41 ++VERSION=0:42 -CC = libtool --mode=compile --tag=CC gcc +LTCOMPILE = libtool --mode=compile --tag=CC $(CC)
