[arch-commits] Commit in libmpc/repos (8 files)
Allan McRae
allan at archlinux.org
Fri Sep 7 01:12:26 UTC 2012
Date: Thursday, September 6, 2012 @ 21:12:26
Author: allan
Revision: 166368
archrelease: copy trunk to testing-i686, testing-x86_64
Added:
libmpc/repos/testing-i686/
libmpc/repos/testing-i686/PKGBUILD
(from rev 166367, libmpc/trunk/PKGBUILD)
libmpc/repos/testing-i686/libmpc-0.9-configure_cflags_egrep_issue.patch
(from rev 166367, libmpc/trunk/libmpc-0.9-configure_cflags_egrep_issue.patch)
libmpc/repos/testing-i686/libmpc.install
(from rev 166367, libmpc/trunk/libmpc.install)
libmpc/repos/testing-x86_64/
libmpc/repos/testing-x86_64/PKGBUILD
(from rev 166367, libmpc/trunk/PKGBUILD)
libmpc/repos/testing-x86_64/libmpc-0.9-configure_cflags_egrep_issue.patch
(from rev 166367, libmpc/trunk/libmpc-0.9-configure_cflags_egrep_issue.patch)
libmpc/repos/testing-x86_64/libmpc.install
(from rev 166367, libmpc/trunk/libmpc.install)
--------------------------------------------------------------+
testing-i686/PKGBUILD | 33 +++++
testing-i686/libmpc-0.9-configure_cflags_egrep_issue.patch | 63 ++++++++++
testing-i686/libmpc.install | 20 +++
testing-x86_64/PKGBUILD | 33 +++++
testing-x86_64/libmpc-0.9-configure_cflags_egrep_issue.patch | 63 ++++++++++
testing-x86_64/libmpc.install | 20 +++
6 files changed, 232 insertions(+)
Copied: libmpc/repos/testing-i686/PKGBUILD (from rev 166367, libmpc/trunk/PKGBUILD)
===================================================================
--- testing-i686/PKGBUILD (rev 0)
+++ testing-i686/PKGBUILD 2012-09-07 01:12:26 UTC (rev 166368)
@@ -0,0 +1,33 @@
+# $Id$
+# Maintainer: Allan McRae <allan at archlinux.org>
+
+pkgname=libmpc
+pkgver=1.0.1
+pkgrel=1
+pkgdesc="Library for the arithmetic of complex numbers with arbitrarily high precision"
+arch=('i686' 'x86_64')
+url="http://www.multiprecision.org/"
+license=('LGPL')
+depends=('mpfr>=3.0.0')
+options=('!libtool')
+install=libmpc.install
+source=(http://www.multiprecision.org/mpc/download/mpc-${pkgver/_/-}.tar.gz{,.sig})
+md5sums=('b32a2e1a3daa392372fbd586d1ed3679'
+ 'c064863fbbb5831ba4f75f1181333862')
+
+build() {
+ cd "${srcdir}/mpc-${pkgver}"
+ ./configure --prefix=/usr
+ make
+}
+
+check() {
+ cd "${srcdir}/mpc-${pkgver}"
+ make check
+}
+
+package() {
+ cd "${srcdir}/mpc-${pkgver}"
+ make DESTDIR="${pkgdir}" install
+ mv ${pkgdir}/usr/share/info/{mpc,libmpc}.info
+}
Copied: libmpc/repos/testing-i686/libmpc-0.9-configure_cflags_egrep_issue.patch (from rev 166367, libmpc/trunk/libmpc-0.9-configure_cflags_egrep_issue.patch)
===================================================================
--- testing-i686/libmpc-0.9-configure_cflags_egrep_issue.patch (rev 0)
+++ testing-i686/libmpc-0.9-configure_cflags_egrep_issue.patch 2012-09-07 01:12:26 UTC (rev 166368)
@@ -0,0 +1,63 @@
+--- trunk/configure.ac 2011/02/21 12:18:31 932
++++ trunk/configure.ac 2011/02/21 16:41:09 936
+@@ -33,7 +33,7 @@
+ AC_CANONICAL_HOST
+ AC_CONFIG_MACRO_DIR([m4])
+
+-dnl Extra arguments to configure
++# Extra arguments to configure
+ AC_ARG_WITH([mpfr_include],
+ [AC_HELP_STRING([--with-mpfr-include=DIR],
+ [MPFR include directory])],
+@@ -85,18 +85,19 @@
+ )
+
+
+-dnl Setup CC and CFLAGS
++# Setup CC and CFLAGS
++AC_PROG_CC
++AC_LANG(C)
+
+-dnl Check for user specification of CC or CFLAGS
++# Set up LibTool
++AC_PROG_LIBTOOL
++
++# Check for user specification of CC or CFLAGS
+ if test -n "$CFLAGS" || test -n "$CC" ; then
+ user_redefine_cc=yes
+ fi
+
+-# Check for programs
+-AC_PROG_CC
+-AC_LANG(C)
+-
+-dnl Check GMP Header
++# Check GMP Header
+ AC_MSG_CHECKING(for gmp.h)
+ AC_COMPILE_IFELSE([AC_LANG_SOURCE([[
+ #include "gmp.h"
+@@ -105,22 +106,19 @@
+ AC_MSG_ERROR([gmp.h can't be found, or is unusable.])
+ ])
+
+-dnl Check for GMP CFLAGS in gmp.h
++# Check for GMP CFLAGS in gmp.h
+ if test -z "$user_redefine_cc" ; then
+ MPC_GMP_CC_CFLAGS
+ fi
+
+
+-dnl Configs for Windows DLLs
++# Configs for Windows DLLs
+ case $host in
+ *-*-cygwin* | *-*-mingw* | *-*-pw32* | *-*-os2*)
+ MPC_WINDOWS
+ esac
+
+
+-dnl Finally set up LibTool
+-AC_PROG_LIBTOOL
+-
+ # Checks for header files.
+ AC_HEADER_STDC
+ AC_CHECK_HEADERS([complex.h locale.h inttypes.h stdint.h limits.h unistd.h sys/time.h])
Copied: libmpc/repos/testing-i686/libmpc.install (from rev 166367, libmpc/trunk/libmpc.install)
===================================================================
--- testing-i686/libmpc.install (rev 0)
+++ testing-i686/libmpc.install 2012-09-07 01:12:26 UTC (rev 166368)
@@ -0,0 +1,20 @@
+infodir=usr/share/info
+filelist=(libmpc.info)
+
+post_install() {
+ [ -x usr/bin/install-info ] || return 0
+ for file in ${filelist[@]}; do
+ install-info $infodir/$file.gz $infodir/dir 2> /dev/null
+ done
+}
+
+post_upgrade() {
+ post_install $1
+}
+
+pre_remove() {
+ [ -x usr/bin/install-info ] || return 0
+ for file in ${filelist[@]}; do
+ install-info --delete $infodir/$file.gz $infodir/dir 2> /dev/null
+ done
+}
Copied: libmpc/repos/testing-x86_64/PKGBUILD (from rev 166367, libmpc/trunk/PKGBUILD)
===================================================================
--- testing-x86_64/PKGBUILD (rev 0)
+++ testing-x86_64/PKGBUILD 2012-09-07 01:12:26 UTC (rev 166368)
@@ -0,0 +1,33 @@
+# $Id$
+# Maintainer: Allan McRae <allan at archlinux.org>
+
+pkgname=libmpc
+pkgver=1.0.1
+pkgrel=1
+pkgdesc="Library for the arithmetic of complex numbers with arbitrarily high precision"
+arch=('i686' 'x86_64')
+url="http://www.multiprecision.org/"
+license=('LGPL')
+depends=('mpfr>=3.0.0')
+options=('!libtool')
+install=libmpc.install
+source=(http://www.multiprecision.org/mpc/download/mpc-${pkgver/_/-}.tar.gz{,.sig})
+md5sums=('b32a2e1a3daa392372fbd586d1ed3679'
+ 'c064863fbbb5831ba4f75f1181333862')
+
+build() {
+ cd "${srcdir}/mpc-${pkgver}"
+ ./configure --prefix=/usr
+ make
+}
+
+check() {
+ cd "${srcdir}/mpc-${pkgver}"
+ make check
+}
+
+package() {
+ cd "${srcdir}/mpc-${pkgver}"
+ make DESTDIR="${pkgdir}" install
+ mv ${pkgdir}/usr/share/info/{mpc,libmpc}.info
+}
Copied: libmpc/repos/testing-x86_64/libmpc-0.9-configure_cflags_egrep_issue.patch (from rev 166367, libmpc/trunk/libmpc-0.9-configure_cflags_egrep_issue.patch)
===================================================================
--- testing-x86_64/libmpc-0.9-configure_cflags_egrep_issue.patch (rev 0)
+++ testing-x86_64/libmpc-0.9-configure_cflags_egrep_issue.patch 2012-09-07 01:12:26 UTC (rev 166368)
@@ -0,0 +1,63 @@
+--- trunk/configure.ac 2011/02/21 12:18:31 932
++++ trunk/configure.ac 2011/02/21 16:41:09 936
+@@ -33,7 +33,7 @@
+ AC_CANONICAL_HOST
+ AC_CONFIG_MACRO_DIR([m4])
+
+-dnl Extra arguments to configure
++# Extra arguments to configure
+ AC_ARG_WITH([mpfr_include],
+ [AC_HELP_STRING([--with-mpfr-include=DIR],
+ [MPFR include directory])],
+@@ -85,18 +85,19 @@
+ )
+
+
+-dnl Setup CC and CFLAGS
++# Setup CC and CFLAGS
++AC_PROG_CC
++AC_LANG(C)
+
+-dnl Check for user specification of CC or CFLAGS
++# Set up LibTool
++AC_PROG_LIBTOOL
++
++# Check for user specification of CC or CFLAGS
+ if test -n "$CFLAGS" || test -n "$CC" ; then
+ user_redefine_cc=yes
+ fi
+
+-# Check for programs
+-AC_PROG_CC
+-AC_LANG(C)
+-
+-dnl Check GMP Header
++# Check GMP Header
+ AC_MSG_CHECKING(for gmp.h)
+ AC_COMPILE_IFELSE([AC_LANG_SOURCE([[
+ #include "gmp.h"
+@@ -105,22 +106,19 @@
+ AC_MSG_ERROR([gmp.h can't be found, or is unusable.])
+ ])
+
+-dnl Check for GMP CFLAGS in gmp.h
++# Check for GMP CFLAGS in gmp.h
+ if test -z "$user_redefine_cc" ; then
+ MPC_GMP_CC_CFLAGS
+ fi
+
+
+-dnl Configs for Windows DLLs
++# Configs for Windows DLLs
+ case $host in
+ *-*-cygwin* | *-*-mingw* | *-*-pw32* | *-*-os2*)
+ MPC_WINDOWS
+ esac
+
+
+-dnl Finally set up LibTool
+-AC_PROG_LIBTOOL
+-
+ # Checks for header files.
+ AC_HEADER_STDC
+ AC_CHECK_HEADERS([complex.h locale.h inttypes.h stdint.h limits.h unistd.h sys/time.h])
Copied: libmpc/repos/testing-x86_64/libmpc.install (from rev 166367, libmpc/trunk/libmpc.install)
===================================================================
--- testing-x86_64/libmpc.install (rev 0)
+++ testing-x86_64/libmpc.install 2012-09-07 01:12:26 UTC (rev 166368)
@@ -0,0 +1,20 @@
+infodir=usr/share/info
+filelist=(libmpc.info)
+
+post_install() {
+ [ -x usr/bin/install-info ] || return 0
+ for file in ${filelist[@]}; do
+ install-info $infodir/$file.gz $infodir/dir 2> /dev/null
+ done
+}
+
+post_upgrade() {
+ post_install $1
+}
+
+pre_remove() {
+ [ -x usr/bin/install-info ] || return 0
+ for file in ${filelist[@]}; do
+ install-info --delete $infodir/$file.gz $infodir/dir 2> /dev/null
+ done
+}
More information about the arch-commits
mailing list