[arch-commits] Commit in libtool/repos (6 files)

Allan McRae allan at archlinux.org
Mon Nov 3 05:21:19 UTC 2014


    Date: Monday, November 3, 2014 @ 06:21:19
  Author: allan
Revision: 225560

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

Added:
  libtool/repos/staging-i686/
  libtool/repos/staging-i686/PKGBUILD
    (from rev 225559, libtool/trunk/PKGBUILD)
  libtool/repos/staging-i686/libtool.install
    (from rev 225559, libtool/trunk/libtool.install)
  libtool/repos/staging-x86_64/
  libtool/repos/staging-x86_64/PKGBUILD
    (from rev 225559, libtool/trunk/PKGBUILD)
  libtool/repos/staging-x86_64/libtool.install
    (from rev 225559, libtool/trunk/libtool.install)

--------------------------------+
 staging-i686/PKGBUILD          |   51 +++++++++++++++++++++++++++++++++++++++
 staging-i686/libtool.install   |   20 +++++++++++++++
 staging-x86_64/PKGBUILD        |   51 +++++++++++++++++++++++++++++++++++++++
 staging-x86_64/libtool.install |   20 +++++++++++++++
 4 files changed, 142 insertions(+)

Copied: libtool/repos/staging-i686/PKGBUILD (from rev 225559, libtool/trunk/PKGBUILD)
===================================================================
--- staging-i686/PKGBUILD	                        (rev 0)
+++ staging-i686/PKGBUILD	2014-11-03 05:21:19 UTC (rev 225560)
@@ -0,0 +1,51 @@
+# $Id$
+# Maintainer: Allan McRae <allan at archlinux.org>
+# Contributor: judd <jvinet at zeroflux.org>
+
+# NOTE: requires rebuilt with each new gcc version
+
+pkgname=('libtool' 'libltdl')
+pkgver=2.4.2
+_gccver=4.9.2
+pkgrel=15
+pkgdesc="A generic library support script"
+arch=('i686' 'x86_64')
+url="http://www.gnu.org/software/libtool"
+license=('GPL')
+makedepends=("gcc=${_gccver}")
+source=(ftp://ftp.gnu.org/pub/gnu/libtool/${pkgname}-${pkgver}.tar.xz{,.sig})
+md5sums=('2ec8997e0c07249eb4cbd072417d70fe'
+         '1e6ba57420c82c663c85e745d11c7eed')
+validpgpkeys=('CFE2BE707B538E8B26757D84151308092983D606')
+
+build() {
+  cd ${srcdir}/${pkgbase}-${pkgver}
+  ./configure --prefix=/usr
+  make
+}
+
+check() {
+  cd ${srcdir}/${pkgbase}-${pkgver}
+  make check
+}
+
+package_libtool() {
+  depends=('sh' "libltdl=$pkgver" 'tar' "gcc=${_gccver}")
+  groups=('base-devel')
+  install=libtool.install
+
+  cd ${srcdir}/${pkgbase}-${pkgver}
+  
+  make DESTDIR=${pkgdir} install-binSCRIPTS install-man install-info \
+                         install-data-local
+  rm -r ${pkgdir}/usr/share/libtool/libltdl/
+}
+
+package_libltdl() {
+  pkgdesc="A system independent dlopen wrapper for GNU libtool"
+
+  cd ${srcdir}/${pkgbase}-${pkgver}
+  make DESTDIR=${pkgdir} install-libLTLIBRARIES install-includeHEADERS \
+                         install-ltdlincludeHEADERS install-data-local
+  rm -r ${pkgdir}/usr/share/{aclocal,libtool/config}
+}

Copied: libtool/repos/staging-i686/libtool.install (from rev 225559, libtool/trunk/libtool.install)
===================================================================
--- staging-i686/libtool.install	                        (rev 0)
+++ staging-i686/libtool.install	2014-11-03 05:21:19 UTC (rev 225560)
@@ -0,0 +1,20 @@
+infodir=usr/share/info
+filelist=(libtool.info  libtool.info-1  libtool.info-2)
+
+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: libtool/repos/staging-x86_64/PKGBUILD (from rev 225559, libtool/trunk/PKGBUILD)
===================================================================
--- staging-x86_64/PKGBUILD	                        (rev 0)
+++ staging-x86_64/PKGBUILD	2014-11-03 05:21:19 UTC (rev 225560)
@@ -0,0 +1,51 @@
+# $Id$
+# Maintainer: Allan McRae <allan at archlinux.org>
+# Contributor: judd <jvinet at zeroflux.org>
+
+# NOTE: requires rebuilt with each new gcc version
+
+pkgname=('libtool' 'libltdl')
+pkgver=2.4.2
+_gccver=4.9.2
+pkgrel=15
+pkgdesc="A generic library support script"
+arch=('i686' 'x86_64')
+url="http://www.gnu.org/software/libtool"
+license=('GPL')
+makedepends=("gcc=${_gccver}")
+source=(ftp://ftp.gnu.org/pub/gnu/libtool/${pkgname}-${pkgver}.tar.xz{,.sig})
+md5sums=('2ec8997e0c07249eb4cbd072417d70fe'
+         '1e6ba57420c82c663c85e745d11c7eed')
+validpgpkeys=('CFE2BE707B538E8B26757D84151308092983D606')
+
+build() {
+  cd ${srcdir}/${pkgbase}-${pkgver}
+  ./configure --prefix=/usr
+  make
+}
+
+check() {
+  cd ${srcdir}/${pkgbase}-${pkgver}
+  make check
+}
+
+package_libtool() {
+  depends=('sh' "libltdl=$pkgver" 'tar' "gcc=${_gccver}")
+  groups=('base-devel')
+  install=libtool.install
+
+  cd ${srcdir}/${pkgbase}-${pkgver}
+  
+  make DESTDIR=${pkgdir} install-binSCRIPTS install-man install-info \
+                         install-data-local
+  rm -r ${pkgdir}/usr/share/libtool/libltdl/
+}
+
+package_libltdl() {
+  pkgdesc="A system independent dlopen wrapper for GNU libtool"
+
+  cd ${srcdir}/${pkgbase}-${pkgver}
+  make DESTDIR=${pkgdir} install-libLTLIBRARIES install-includeHEADERS \
+                         install-ltdlincludeHEADERS install-data-local
+  rm -r ${pkgdir}/usr/share/{aclocal,libtool/config}
+}

Copied: libtool/repos/staging-x86_64/libtool.install (from rev 225559, libtool/trunk/libtool.install)
===================================================================
--- staging-x86_64/libtool.install	                        (rev 0)
+++ staging-x86_64/libtool.install	2014-11-03 05:21:19 UTC (rev 225560)
@@ -0,0 +1,20 @@
+infodir=usr/share/info
+filelist=(libtool.info  libtool.info-1  libtool.info-2)
+
+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