[arch-commits] CVS update of core/support/capi4k-utils (PKGBUILD)

Tobias Powalowski tpowa at archlinux.org
Mon Nov 12 11:17:25 UTC 2007


    Date: Monday, November 12, 2007 @ 06:17:25
  Author: tpowa
    Path: /home/cvs-core/core/support/capi4k-utils

Modified: PKGBUILD (1.9 -> 1.10)

'upgpkg: fixed gcc 4.2.2 compiling'


----------+
 PKGBUILD |   14 ++++++++------
 1 file changed, 8 insertions(+), 6 deletions(-)


Index: core/support/capi4k-utils/PKGBUILD
diff -u core/support/capi4k-utils/PKGBUILD:1.9 core/support/capi4k-utils/PKGBUILD:1.10
--- core/support/capi4k-utils/PKGBUILD:1.9	Sun Jan  7 04:18:15 2007
+++ core/support/capi4k-utils/PKGBUILD	Mon Nov 12 06:17:25 2007
@@ -1,4 +1,4 @@
-# $Id: PKGBUILD,v 1.9 2007/01/07 09:18:15 andyrtr Exp $
+# $Id: PKGBUILD,v 1.10 2007/11/12 11:17:25 tpowa Exp $
 #Maintainer: Tobias Powalowski <tpowa at archlinux.org>
 
 pkgname=capi4k-utils
@@ -6,11 +6,14 @@
 pkgrel=4
 pkgdesc="capi utils for isdn cards"
 arch=(i686 x86_64)
+license=('GPL2')
 url="ftp://ftp.in-berlin.de/pub/capi4linux/"
 makedepends=('ppp')
 depends=('glibc' 'bash')
 backup=(etc/capi.conf)
-source=(ftp://ftp.in-berlin.de/pub/capi4linux/capi4k-utils-2005-07-18.tar.gz ppp-2.4.4.patch config capi.conf capiinit.rc)
+source=(ftp://ftp.in-berlin.de/pub/capi4linux/capi4k-utils-2005-07-18.tar.gz ppp-2.4.4.patch config capi.conf capiinit.rc
+	capi-compile.patch)
+options=(!libtool)
 md5sums=('c745759b6b3d64e19763727176648cdf' 'c5416b8b1b76a82c4bcaad76140369e1'\
          '030918cda22b07a3af9215c38117538e' 'c88940f0ace5759b7a0e8b267ca77ce2'\
          'aa59439a70299290a4d9bcdfaeafed72')
@@ -18,10 +21,12 @@
 build() {
   cd $startdir/src/$pkgname
   patch -Np1 -i ../ppp-2.4.4.patch || return 1
+  # fix compiling with gcc 4.2
+  patch -Np1 -i ../capi-compile.patch || return 1
+
   cp ../config .config
   # fix pppd plugin
   sed -i -e 's/2.3.11 2.4.0 2.4.1 2.4.1b1 2.4.1b2 2.4.2b3 2.4.2 2.4.3/2.4.4/g' $startdir/src/$pkgname/pppdcapiplugin/Makefile
-
   # Arch64 fix from Gentoo
   # patch capi20/Makefile.* to use -fPIC for shared library
   [ "$CARCH" = "x86_64" ] &&  (sed -i -e "s:^\(CFLAGS.*\):\1 -fPIC:g" capi20/Makefile.* || return 1)
@@ -36,7 +41,4 @@
   install -m644 $startdir/src/capi.conf $startdir/pkg/etc
   cd $startdir/pkg/usr/lib
   ln -s libcapi20 libcapi20.so.2
-
-  # liboolslay
-  find $startdir/pkg -name '*.la' -exec rm {} \;
 }




More information about the arch-commits mailing list