[arch-commits] CVS update of extra/lib/pwlib (PKGBUILD)

Thomas Baechler thomas at archlinux.org
Sun Aug 26 09:55:05 EDT 2007


    Date: Sunday, August 26, 2007 @ 09:55:05
  Author: thomas
    Path: /home/cvs-extra/extra/lib/pwlib

Modified: PKGBUILD (1.27 -> 1.28)

upgpkg: pwlib 1.10.7-1.1


----------+
 PKGBUILD |   14 +++++---------
 1 file changed, 5 insertions(+), 9 deletions(-)


Index: extra/lib/pwlib/PKGBUILD
diff -u extra/lib/pwlib/PKGBUILD:1.27 extra/lib/pwlib/PKGBUILD:1.28
--- extra/lib/pwlib/PKGBUILD:1.27	Sun Apr 22 11:20:42 2007
+++ extra/lib/pwlib/PKGBUILD	Sun Aug 26 09:55:04 2007
@@ -1,21 +1,24 @@
-# $Id: PKGBUILD,v 1.27 2007/04/22 15:20:42 jgc Exp $
+# $Id: PKGBUILD,v 1.28 2007/08/26 13:55:04 thomas Exp $
 # Maintainer: Jan de Groot <jgc at archlinux.org>
 # Contributor: Gregor Ibic <gregor.ibic at intelicom.si>
 # Contributor: Tom K <tomk at runbox.com>
 
 pkgname=pwlib
 pkgver=1.10.7
-pkgrel=1
+pkgrel=1.1
 pkgdesc="Portable Windows Library"
 arch=(i686 x86_64)
 url="http://www.ekiga.org/"
 license=('GPL')
 depends=('libldap' 'sdl>=1.2.10' 'alsa-lib>=1.0.11' 'libavc1394>=0.5.1' 'libdc1394' 'libdv')
+makedepends=('gcc>=4.2.1')
 source=(http://ftp.gnome.org/pub/GNOME/sources/${pkgname}/1.10/${pkgname}-${pkgver}.tar.bz2)
 md5sums=('ac63195688211579e1ada30bb7b07ff1')
 
 build() {
   cd ${startdir}/src/pwlib-${pkgver}
+  sed 's|lib64|lib|' -i configure
+  sed 's|bits/atomicity.h|ext/atomicity.h|g' -i configure
   ./configure --prefix=/usr --libdir=/usr/lib \
               --sysconfdir=/etc --localstatedir=/var \
   	      --enable-opal --enable-plugins \
@@ -25,11 +28,4 @@
 	      --enable-dc
   make || return 1
   make DESTDIR=${startdir}/pkg install
-
-  #TODO: fix dirty link
-  if [ "${CARCH}" = "x86_64" ]; then
-    mkdir -p ${startdir}/pkg/usr/lib64
-    cd ${startdir}/pkg/usr/
-    ln -s ../lib/pwlib lib64/pwlib
-  fi
 }




More information about the arch-commits mailing list