[arch-commits] Commit in libffi/repos (8 files)

Stéphane Gaudreault stephane at nymeria.archlinux.org
Mon May 27 18:11:45 EDT 2013


    Date: Tuesday, May 28, 2013 @ 00:11:44
  Author: stephane
Revision: 186501

archrelease: copy trunk to testing-i686, testing-x86_64

Added:
  libffi/repos/testing-i686/
  libffi/repos/testing-i686/PKGBUILD
    (from rev 186500, libffi/trunk/PKGBUILD)
  libffi/repos/testing-i686/libffi-3.0.13-fix-include-path.patch
    (from rev 186500, libffi/trunk/libffi-3.0.13-fix-include-path.patch)
  libffi/repos/testing-i686/libffi.install
    (from rev 186500, libffi/trunk/libffi.install)
  libffi/repos/testing-x86_64/
  libffi/repos/testing-x86_64/PKGBUILD
    (from rev 186500, libffi/trunk/PKGBUILD)
  libffi/repos/testing-x86_64/libffi-3.0.13-fix-include-path.patch
    (from rev 186500, libffi/trunk/libffi-3.0.13-fix-include-path.patch)
  libffi/repos/testing-x86_64/libffi.install
    (from rev 186500, libffi/trunk/libffi.install)

-----------------------------------------------------+
 testing-i686/PKGBUILD                               |   41 ++++++++++++++++++
 testing-i686/libffi-3.0.13-fix-include-path.patch   |   34 ++++++++++++++
 testing-i686/libffi.install                         |   20 ++++++++
 testing-x86_64/PKGBUILD                             |   41 ++++++++++++++++++
 testing-x86_64/libffi-3.0.13-fix-include-path.patch |   34 ++++++++++++++
 testing-x86_64/libffi.install                       |   20 ++++++++
 6 files changed, 190 insertions(+)

Copied: libffi/repos/testing-i686/PKGBUILD (from rev 186500, libffi/trunk/PKGBUILD)
===================================================================
--- testing-i686/PKGBUILD	                        (rev 0)
+++ testing-i686/PKGBUILD	2013-05-27 22:11:44 UTC (rev 186501)
@@ -0,0 +1,41 @@
+# $Id$
+# Maintainer: Stéphane Gaudreault <stephane at archlinux.org>
+# Contributor: Jan de Groot <jgc at archlinux.org>
+
+pkgname=libffi
+pkgver=3.0.13
+pkgrel=2
+pkgdesc="A portable, high level programming interface to various calling conventions"
+arch=('i686' 'x86_64')
+url="http://sourceware.org/libffi/"
+license=('MIT')
+depends=('glibc')
+checkdepends=('dejagnu')
+options=('!libtool')
+install=libffi.install
+source=(ftp://sourceware.org/pub/libffi/libffi-${pkgver}.tar.gz
+        libffi-3.0.13-fix-include-path.patch)
+sha1sums=('f5230890dc0be42fb5c58fbf793da253155de106'
+          '45652f78dc51f325ed85cd277af051afa419acf2')
+
+prepare() {
+  cd "${srcdir}/${pkgname}-${pkgver}"
+  patch -Np1 -i ../libffi-3.0.13-fix-include-path.patch
+}
+
+build() {
+  cd "${srcdir}/${pkgname}-${pkgver}"
+  ./configure --prefix=/usr --disable-static
+  make
+}
+
+check() {
+  cd "${srcdir}/${pkgname}-${pkgver}"
+  make check
+}
+
+package() {
+  cd "${srcdir}/${pkgname}-${pkgver}"
+  make DESTDIR="${pkgdir}" install
+  install -D -m644 LICENSE "${pkgdir}"/usr/share/licenses/${pkgname}/LICENSE
+}

Copied: libffi/repos/testing-i686/libffi-3.0.13-fix-include-path.patch (from rev 186500, libffi/trunk/libffi-3.0.13-fix-include-path.patch)
===================================================================
--- testing-i686/libffi-3.0.13-fix-include-path.patch	                        (rev 0)
+++ testing-i686/libffi-3.0.13-fix-include-path.patch	2013-05-27 22:11:44 UTC (rev 186501)
@@ -0,0 +1,34 @@
+diff -up libffi-3.0.13/include/Makefile.am.fixpath libffi-3.0.13/include/Makefile.am
+--- libffi-3.0.13/include/Makefile.am.fixpath	2013-05-25 22:11:25.983889342 -0400
++++ libffi-3.0.13/include/Makefile.am	2013-05-25 22:12:12.337890037 -0400
+@@ -5,5 +5,5 @@ AUTOMAKE_OPTIONS=foreign
+ DISTCLEANFILES=ffitarget.h
+ EXTRA_DIST=ffi.h.in ffi_common.h
+ 
+-includesdir = $(libdir)/@PACKAGE_NAME at -@PACKAGE_VERSION@/include
++includesdir = $(includedir)/
+ nodist_includes_HEADERS = ffi.h ffitarget.h
+diff -up libffi-3.0.13/include/Makefile.in.fixpath libffi-3.0.13/include/Makefile.in
+--- libffi-3.0.13/include/Makefile.in.fixpath	2013-05-25 22:12:56.259890696 -0400
++++ libffi-3.0.13/include/Makefile.in	2013-05-25 22:13:12.101890934 -0400
+@@ -250,7 +250,7 @@ top_srcdir = @top_srcdir@
+ AUTOMAKE_OPTIONS = foreign
+ DISTCLEANFILES = ffitarget.h
+ EXTRA_DIST = ffi.h.in ffi_common.h
+-includesdir = $(libdir)/@PACKAGE_NAME at -@PACKAGE_VERSION@/include
++includesdir = $(includedir)/
+ nodist_includes_HEADERS = ffi.h ffitarget.h
+ all: all-am
+ 
+diff -up libffi-3.0.13/libffi.pc.in.fixpath libffi-3.0.13/libffi.pc.in
+--- libffi-3.0.13/libffi.pc.in.fixpath	2013-05-25 22:14:21.037891968 -0400
++++ libffi-3.0.13/libffi.pc.in	2013-05-25 22:14:31.652892128 -0400
+@@ -1,7 +1,7 @@
+ prefix=@prefix@
+ exec_prefix=@exec_prefix@
+ libdir=@libdir@
+-includedir=${libdir}/@PACKAGE_NAME at -@PACKAGE_VERSION@/include
++includedir=@includedir@
+ 
+ Name: @PACKAGE_NAME@
+ Description: Library supporting Foreign Function Interfaces

Copied: libffi/repos/testing-i686/libffi.install (from rev 186500, libffi/trunk/libffi.install)
===================================================================
--- testing-i686/libffi.install	                        (rev 0)
+++ testing-i686/libffi.install	2013-05-27 22:11:44 UTC (rev 186501)
@@ -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/PKGBUILD (from rev 186500, libffi/trunk/PKGBUILD)
===================================================================
--- testing-x86_64/PKGBUILD	                        (rev 0)
+++ testing-x86_64/PKGBUILD	2013-05-27 22:11:44 UTC (rev 186501)
@@ -0,0 +1,41 @@
+# $Id$
+# Maintainer: Stéphane Gaudreault <stephane at archlinux.org>
+# Contributor: Jan de Groot <jgc at archlinux.org>
+
+pkgname=libffi
+pkgver=3.0.13
+pkgrel=2
+pkgdesc="A portable, high level programming interface to various calling conventions"
+arch=('i686' 'x86_64')
+url="http://sourceware.org/libffi/"
+license=('MIT')
+depends=('glibc')
+checkdepends=('dejagnu')
+options=('!libtool')
+install=libffi.install
+source=(ftp://sourceware.org/pub/libffi/libffi-${pkgver}.tar.gz
+        libffi-3.0.13-fix-include-path.patch)
+sha1sums=('f5230890dc0be42fb5c58fbf793da253155de106'
+          '45652f78dc51f325ed85cd277af051afa419acf2')
+
+prepare() {
+  cd "${srcdir}/${pkgname}-${pkgver}"
+  patch -Np1 -i ../libffi-3.0.13-fix-include-path.patch
+}
+
+build() {
+  cd "${srcdir}/${pkgname}-${pkgver}"
+  ./configure --prefix=/usr --disable-static
+  make
+}
+
+check() {
+  cd "${srcdir}/${pkgname}-${pkgver}"
+  make check
+}
+
+package() {
+  cd "${srcdir}/${pkgname}-${pkgver}"
+  make DESTDIR="${pkgdir}" install
+  install -D -m644 LICENSE "${pkgdir}"/usr/share/licenses/${pkgname}/LICENSE
+}

Copied: libffi/repos/testing-x86_64/libffi-3.0.13-fix-include-path.patch (from rev 186500, libffi/trunk/libffi-3.0.13-fix-include-path.patch)
===================================================================
--- testing-x86_64/libffi-3.0.13-fix-include-path.patch	                        (rev 0)
+++ testing-x86_64/libffi-3.0.13-fix-include-path.patch	2013-05-27 22:11:44 UTC (rev 186501)
@@ -0,0 +1,34 @@
+diff -up libffi-3.0.13/include/Makefile.am.fixpath libffi-3.0.13/include/Makefile.am
+--- libffi-3.0.13/include/Makefile.am.fixpath	2013-05-25 22:11:25.983889342 -0400
++++ libffi-3.0.13/include/Makefile.am	2013-05-25 22:12:12.337890037 -0400
+@@ -5,5 +5,5 @@ AUTOMAKE_OPTIONS=foreign
+ DISTCLEANFILES=ffitarget.h
+ EXTRA_DIST=ffi.h.in ffi_common.h
+ 
+-includesdir = $(libdir)/@PACKAGE_NAME at -@PACKAGE_VERSION@/include
++includesdir = $(includedir)/
+ nodist_includes_HEADERS = ffi.h ffitarget.h
+diff -up libffi-3.0.13/include/Makefile.in.fixpath libffi-3.0.13/include/Makefile.in
+--- libffi-3.0.13/include/Makefile.in.fixpath	2013-05-25 22:12:56.259890696 -0400
++++ libffi-3.0.13/include/Makefile.in	2013-05-25 22:13:12.101890934 -0400
+@@ -250,7 +250,7 @@ top_srcdir = @top_srcdir@
+ AUTOMAKE_OPTIONS = foreign
+ DISTCLEANFILES = ffitarget.h
+ EXTRA_DIST = ffi.h.in ffi_common.h
+-includesdir = $(libdir)/@PACKAGE_NAME at -@PACKAGE_VERSION@/include
++includesdir = $(includedir)/
+ nodist_includes_HEADERS = ffi.h ffitarget.h
+ all: all-am
+ 
+diff -up libffi-3.0.13/libffi.pc.in.fixpath libffi-3.0.13/libffi.pc.in
+--- libffi-3.0.13/libffi.pc.in.fixpath	2013-05-25 22:14:21.037891968 -0400
++++ libffi-3.0.13/libffi.pc.in	2013-05-25 22:14:31.652892128 -0400
+@@ -1,7 +1,7 @@
+ prefix=@prefix@
+ exec_prefix=@exec_prefix@
+ libdir=@libdir@
+-includedir=${libdir}/@PACKAGE_NAME at -@PACKAGE_VERSION@/include
++includedir=@includedir@
+ 
+ Name: @PACKAGE_NAME@
+ Description: Library supporting Foreign Function Interfaces

Copied: libffi/repos/testing-x86_64/libffi.install (from rev 186500, libffi/trunk/libffi.install)
===================================================================
--- testing-x86_64/libffi.install	                        (rev 0)
+++ testing-x86_64/libffi.install	2013-05-27 22:11:44 UTC (rev 186501)
@@ -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