[arch-commits] Commit in libffi/repos (8 files)
Bartłomiej Piotrowski
bpiotrowski at nymeria.archlinux.org
Sat Jun 14 16:13:19 UTC 2014
Date: Saturday, June 14, 2014 @ 18:13:19
Author: bpiotrowski
Revision: 215134
archrelease: copy trunk to testing-i686, testing-x86_64
Added:
libffi/repos/testing-i686/
libffi/repos/testing-i686/0001-Fix-paths-in-libffi.pc.in.patch
(from rev 215133, libffi/trunk/0001-Fix-paths-in-libffi.pc.in.patch)
libffi/repos/testing-i686/PKGBUILD
(from rev 215133, libffi/trunk/PKGBUILD)
libffi/repos/testing-i686/libffi.install
(from rev 215133, libffi/trunk/libffi.install)
libffi/repos/testing-x86_64/
libffi/repos/testing-x86_64/0001-Fix-paths-in-libffi.pc.in.patch
(from rev 215133, libffi/trunk/0001-Fix-paths-in-libffi.pc.in.patch)
libffi/repos/testing-x86_64/PKGBUILD
(from rev 215133, libffi/trunk/PKGBUILD)
libffi/repos/testing-x86_64/libffi.install
(from rev 215133, libffi/trunk/libffi.install)
-----------------------------------------------------+
testing-i686/0001-Fix-paths-in-libffi.pc.in.patch | 41 ++++++++++++++++++
testing-i686/PKGBUILD | 40 +++++++++++++++++
testing-i686/libffi.install | 20 ++++++++
testing-x86_64/0001-Fix-paths-in-libffi.pc.in.patch | 41 ++++++++++++++++++
testing-x86_64/PKGBUILD | 40 +++++++++++++++++
testing-x86_64/libffi.install | 20 ++++++++
6 files changed, 202 insertions(+)
Copied: libffi/repos/testing-i686/0001-Fix-paths-in-libffi.pc.in.patch (from rev 215133, libffi/trunk/0001-Fix-paths-in-libffi.pc.in.patch)
===================================================================
--- testing-i686/0001-Fix-paths-in-libffi.pc.in.patch (rev 0)
+++ testing-i686/0001-Fix-paths-in-libffi.pc.in.patch 2014-06-14 16:13:19 UTC (rev 215134)
@@ -0,0 +1,41 @@
+From ad0d1d239afc7ad09203847793dcc020856d1035 Mon Sep 17 00:00:00 2001
+From: Samuli Suominen <ssuominen at gentoo.org>
+Date: Thu, 12 Jun 2014 06:30:21 -0400
+Subject: [PATCH] Fix paths in libffi.pc.in
+
+---
+ configure.ac | 10 +++++-----
+ 1 file changed, 5 insertions(+), 5 deletions(-)
+
+diff --git a/configure.ac b/configure.ac
+index 4f7fe3f..bbc1a9d 100644
+--- a/configure.ac
++++ b/configure.ac
+@@ -590,11 +590,11 @@ AC_ARG_ENABLE(purify-safety,
+ if test "x$GCC" = "xyes"; then
+ if test -n "$with_cross_host" &&
+ test x"$with_cross_host" != x"no"; then
+- toolexecdir='$(exec_prefix)/$(target_alias)'
+- toolexeclibdir='$(toolexecdir)/lib'
++ toolexecdir="${exec_prefix}"/'$(target_alias)'
++ toolexeclibdir="${toolexecdir}"/lib
+ else
+- toolexecdir='$(libdir)/gcc-lib/$(target_alias)'
+- toolexeclibdir='$(libdir)'
++ toolexecdir="${libdir}"/gcc-lib/'$(target_alias)'
++ toolexeclibdir="${libdir}"
+ fi
+ multi_os_directory=`$CC $CFLAGS -print-multi-os-directory`
+ case $multi_os_directory in
+@@ -603,7 +603,7 @@ if test "x$GCC" = "xyes"; then
+ esac
+ AC_SUBST(toolexecdir)
+ else
+- toolexeclibdir='$(libdir)'
++ toolexeclibdir="${libdir}"
+ fi
+ AC_SUBST(toolexeclibdir)
+
+--
+2.0.0
+
Copied: libffi/repos/testing-i686/PKGBUILD (from rev 215133, libffi/trunk/PKGBUILD)
===================================================================
--- testing-i686/PKGBUILD (rev 0)
+++ testing-i686/PKGBUILD 2014-06-14 16:13:19 UTC (rev 215134)
@@ -0,0 +1,40 @@
+# $Id$
+# Maintainer: Bartłomiej Piotrowski <bpiotrowski at archlinux.org>
+# Contributor: Stéphane Gaudreault <stephane at archlinux.org>
+# Contributor: Jan de Groot <jgc at archlinux.org>
+
+pkgname=libffi
+pkgver=3.1
+pkgrel=1
+pkgdesc='Portable foreign function interface library'
+arch=('i686' 'x86_64')
+url='http://sourceware.org/libffi/'
+license=('MIT')
+depends=('glibc')
+checkdepends=('dejagnu')
+install=libffi.install
+source=(ftp://sourceware.org/pub/libffi/libffi-$pkgver.tar.gz
+ 0001-Fix-paths-in-libffi.pc.in.patch)
+sha1sums=('cb373ef2115ec7c57913b84ca72eee14b10ccdc3'
+ '85b406c5208a7b8fdba9c8a4782ab524f5c5eec4')
+
+prepare() {
+ cd $pkgname-$pkgver
+ patch -p1 -i ../0001-Fix-paths-in-libffi.pc.in.patch
+}
+
+build() {
+ cd $pkgname-$pkgver
+ ./configure --prefix=/usr --disable-static
+ make
+}
+
+check() {
+ make -C $pkgname-$pkgver check
+}
+
+package() {
+ cd $pkgname-$pkgver
+ make DESTDIR="$pkgdir" install
+ install -Dm644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+}
Copied: libffi/repos/testing-i686/libffi.install (from rev 215133, libffi/trunk/libffi.install)
===================================================================
--- testing-i686/libffi.install (rev 0)
+++ testing-i686/libffi.install 2014-06-14 16:13:19 UTC (rev 215134)
@@ -0,0 +1,20 @@
+infodir=usr/share/info
+filelist=(libffi.info.gz)
+
+post_install() {
+ [[ -x usr/bin/install-info ]] || return 0
+ for file in ${filelist[@]}; do
+ install-info $infodir/$file $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 $infodir/dir 2> /dev/null
+ done
+}
Copied: libffi/repos/testing-x86_64/0001-Fix-paths-in-libffi.pc.in.patch (from rev 215133, libffi/trunk/0001-Fix-paths-in-libffi.pc.in.patch)
===================================================================
--- testing-x86_64/0001-Fix-paths-in-libffi.pc.in.patch (rev 0)
+++ testing-x86_64/0001-Fix-paths-in-libffi.pc.in.patch 2014-06-14 16:13:19 UTC (rev 215134)
@@ -0,0 +1,41 @@
+From ad0d1d239afc7ad09203847793dcc020856d1035 Mon Sep 17 00:00:00 2001
+From: Samuli Suominen <ssuominen at gentoo.org>
+Date: Thu, 12 Jun 2014 06:30:21 -0400
+Subject: [PATCH] Fix paths in libffi.pc.in
+
+---
+ configure.ac | 10 +++++-----
+ 1 file changed, 5 insertions(+), 5 deletions(-)
+
+diff --git a/configure.ac b/configure.ac
+index 4f7fe3f..bbc1a9d 100644
+--- a/configure.ac
++++ b/configure.ac
+@@ -590,11 +590,11 @@ AC_ARG_ENABLE(purify-safety,
+ if test "x$GCC" = "xyes"; then
+ if test -n "$with_cross_host" &&
+ test x"$with_cross_host" != x"no"; then
+- toolexecdir='$(exec_prefix)/$(target_alias)'
+- toolexeclibdir='$(toolexecdir)/lib'
++ toolexecdir="${exec_prefix}"/'$(target_alias)'
++ toolexeclibdir="${toolexecdir}"/lib
+ else
+- toolexecdir='$(libdir)/gcc-lib/$(target_alias)'
+- toolexeclibdir='$(libdir)'
++ toolexecdir="${libdir}"/gcc-lib/'$(target_alias)'
++ toolexeclibdir="${libdir}"
+ fi
+ multi_os_directory=`$CC $CFLAGS -print-multi-os-directory`
+ case $multi_os_directory in
+@@ -603,7 +603,7 @@ if test "x$GCC" = "xyes"; then
+ esac
+ AC_SUBST(toolexecdir)
+ else
+- toolexeclibdir='$(libdir)'
++ toolexeclibdir="${libdir}"
+ fi
+ AC_SUBST(toolexeclibdir)
+
+--
+2.0.0
+
Copied: libffi/repos/testing-x86_64/PKGBUILD (from rev 215133, libffi/trunk/PKGBUILD)
===================================================================
--- testing-x86_64/PKGBUILD (rev 0)
+++ testing-x86_64/PKGBUILD 2014-06-14 16:13:19 UTC (rev 215134)
@@ -0,0 +1,40 @@
+# $Id$
+# Maintainer: Bartłomiej Piotrowski <bpiotrowski at archlinux.org>
+# Contributor: Stéphane Gaudreault <stephane at archlinux.org>
+# Contributor: Jan de Groot <jgc at archlinux.org>
+
+pkgname=libffi
+pkgver=3.1
+pkgrel=1
+pkgdesc='Portable foreign function interface library'
+arch=('i686' 'x86_64')
+url='http://sourceware.org/libffi/'
+license=('MIT')
+depends=('glibc')
+checkdepends=('dejagnu')
+install=libffi.install
+source=(ftp://sourceware.org/pub/libffi/libffi-$pkgver.tar.gz
+ 0001-Fix-paths-in-libffi.pc.in.patch)
+sha1sums=('cb373ef2115ec7c57913b84ca72eee14b10ccdc3'
+ '85b406c5208a7b8fdba9c8a4782ab524f5c5eec4')
+
+prepare() {
+ cd $pkgname-$pkgver
+ patch -p1 -i ../0001-Fix-paths-in-libffi.pc.in.patch
+}
+
+build() {
+ cd $pkgname-$pkgver
+ ./configure --prefix=/usr --disable-static
+ make
+}
+
+check() {
+ make -C $pkgname-$pkgver check
+}
+
+package() {
+ cd $pkgname-$pkgver
+ make DESTDIR="$pkgdir" install
+ install -Dm644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+}
Copied: libffi/repos/testing-x86_64/libffi.install (from rev 215133, libffi/trunk/libffi.install)
===================================================================
--- testing-x86_64/libffi.install (rev 0)
+++ testing-x86_64/libffi.install 2014-06-14 16:13:19 UTC (rev 215134)
@@ -0,0 +1,20 @@
+infodir=usr/share/info
+filelist=(libffi.info.gz)
+
+post_install() {
+ [[ -x usr/bin/install-info ]] || return 0
+ for file in ${filelist[@]}; do
+ install-info $infodir/$file $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 $infodir/dir 2> /dev/null
+ done
+}
More information about the arch-commits
mailing list