[arch-commits] CVS update of arch/build/base/device-mapper (PKGBUILD)

Thomas Baechler thomas at archlinux.org
Thu Jun 21 16:31:20 UTC 2007


    Date: Thursday, June 21, 2007 @ 12:31:20
  Author: thomas
    Path: /home/cvs-arch/arch/build/base/device-mapper

Modified: PKGBUILD (1.22 -> 1.23)

update to 1.02.20 and fix the bug where -ldevmapper links statically


----------+
 PKGBUILD |   11 +++++++----
 1 file changed, 7 insertions(+), 4 deletions(-)


Index: arch/build/base/device-mapper/PKGBUILD
diff -u arch/build/base/device-mapper/PKGBUILD:1.22 arch/build/base/device-mapper/PKGBUILD:1.23
--- arch/build/base/device-mapper/PKGBUILD:1.22	Fri May 25 14:50:45 2007
+++ arch/build/base/device-mapper/PKGBUILD	Thu Jun 21 12:31:20 2007
@@ -1,15 +1,15 @@
-# $Id: PKGBUILD,v 1.22 2007/05/25 18:50:45 tpowa Exp $
+# $Id: PKGBUILD,v 1.23 2007/06/21 16:31:20 thomas Exp $
 # Maintainer: Judd <jvinet at zeroflux.org>
 pkgname=device-mapper
-pkgver=1.02.19
-pkgrel=2
+pkgver=1.02.20
+pkgrel=1
 pkgdesc="Device mapper ioctl library."
 arch=(i686 x86_64)
 license=('GPL')
 url="http://www.sistina.com/products_lvm.htm"
 depends=('glibc')
 source=(ftp://sources.redhat.com/pub/dm/device-mapper.$pkgver.tgz device-mapper.rules)
-md5sums=('37cb592a1fa8fc31dc00cb437bbb4969'
+md5sums=('6b8f350ca385e2afafd1fb98f1a15e10'
          '065f32a36947e6183722ed9aef13dc0c')
 
 build() {
@@ -18,11 +18,14 @@
   make || return 1
   make DESTDIR=$startdir/pkg sbindir=$startdir/pkg/sbin \
     libdir=$startdir/pkg/lib install
+
   install -D -m755 scripts/devmap_mknod.sh $startdir/pkg/sbin/devmap_mknod.sh
 
   # install the static library as well
   install -D -m644 lib/ioctl/libdevmapper.a $startdir/pkg/usr/lib/libdevmapper.a
   # install udev rule
   install -D -m644 $startdir/src/device-mapper.rules $startdir/pkg/etc/udev/rules.d/device-mapper.rules
+  # fix device-mapper link bug
+  ln -sf /lib/libdevmapper.so $startdir/pkg/usr/lib/libdevmapper.so
 }
 




More information about the arch-commits mailing list