diff options
author | James Meyer <James.meyer@operamail.com> | 2008-10-02 03:19:12 (GMT) |
---|---|---|
committer | James Meyer <James.meyer@operamail.com> | 2008-10-02 03:19:12 (GMT) |
commit | 0e2532d4e8f4eed5e047f1db54d5c03ba849ec0a (patch) | |
tree | c0aa2c0b53c317be87eacfcb77b63f53f1f415e7 /abs/core/device-mapper/PKGBUILD | |
download | linhes_pkgbuild-0e2532d4e8f4eed5e047f1db54d5c03ba849ec0a.zip linhes_pkgbuild-0e2532d4e8f4eed5e047f1db54d5c03ba849ec0a.tar.gz linhes_pkgbuild-0e2532d4e8f4eed5e047f1db54d5c03ba849ec0a.tar.bz2 |
initial import
Diffstat (limited to 'abs/core/device-mapper/PKGBUILD')
-rw-r--r-- | abs/core/device-mapper/PKGBUILD | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/abs/core/device-mapper/PKGBUILD b/abs/core/device-mapper/PKGBUILD new file mode 100644 index 0000000..7c2cd46 --- /dev/null +++ b/abs/core/device-mapper/PKGBUILD @@ -0,0 +1,30 @@ +# $Id: PKGBUILD 356 2008-04-18 22:56:27Z aaron $ +# Maintainer: Thomas Baechler <thomas@archlinux.org> +pkgname=device-mapper +pkgver=1.02.27 +pkgrel=10 +pkgdesc="Device mapper userspace library and tools." +arch=('i686' 'x86_64') +license=('GPL') +url="http://sourceware.org/dm/" +groups=('base') +depends=('glibc') +source=(ftp://sources.redhat.com/pub/dm/device-mapper.$pkgver.tgz + device-mapper.rules) +md5sums=('6074f2c2035c2a526422e691c7457277' + '065f32a36947e6183722ed9aef13dc0c') + +build() { + cd $startdir/src/$pkgname.$pkgver + ./configure --prefix=/usr + make || return 1 + make DESTDIR=$startdir/pkg sbindir=$startdir/pkg/sbin \ + libdir=$startdir/pkg/lib install + + # 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 +} |