summaryrefslogtreecommitdiffstats
path: root/abs/core/lvm2/PKGBUILD
diff options
context:
space:
mode:
authorJames Meyer <James.meyer@operamail.com>2008-10-02 03:19:12 (GMT)
committerJames Meyer <James.meyer@operamail.com>2008-10-02 03:19:12 (GMT)
commit0e2532d4e8f4eed5e047f1db54d5c03ba849ec0a (patch)
treec0aa2c0b53c317be87eacfcb77b63f53f1f415e7 /abs/core/lvm2/PKGBUILD
downloadlinhes_pkgbuild-0e2532d4e8f4eed5e047f1db54d5c03ba849ec0a.zip
linhes_pkgbuild-0e2532d4e8f4eed5e047f1db54d5c03ba849ec0a.tar.gz
linhes_pkgbuild-0e2532d4e8f4eed5e047f1db54d5c03ba849ec0a.tar.bz2
initial import
Diffstat (limited to 'abs/core/lvm2/PKGBUILD')
-rw-r--r--abs/core/lvm2/PKGBUILD35
1 files changed, 35 insertions, 0 deletions
diff --git a/abs/core/lvm2/PKGBUILD b/abs/core/lvm2/PKGBUILD
new file mode 100644
index 0000000..1819c76
--- /dev/null
+++ b/abs/core/lvm2/PKGBUILD
@@ -0,0 +1,35 @@
+# $Id: PKGBUILD 1726 2008-05-15 13:19:26Z thomas $
+# Maintainer: Thomas Baechler <thomas@archlinux.org>
+pkgname=lvm2
+pkgver=2.02.37
+pkgrel=10
+pkgdesc="Logical Volume Manager 2 utilities"
+arch=('i686' 'x86_64')
+license=('GPL')
+url="http://sourceware.org/lvm2/"
+groups=('base')
+depends=('device-mapper>=1.02.22')
+conflicts=('lvm')
+backup=('etc/lvm/lvm.conf')
+source=(ftp://sources.redhat.com/pub/lvm2/LVM2.$pkgver.tgz
+ lvm2_install
+ lvm2_hook)
+md5sums=('19c19e1f31ec548dc31982478a8a5f63'
+ '40dccdb1044f00fc1e29ca549933d4bd'
+ '73c8c2eba0fe891712c859c18b5b8aa2')
+
+build() {
+ cd $startdir/src/LVM2.$pkgver
+ ./configure --prefix=/usr --sysconfdir=/etc --localstatedir=/var
+ make || return 1
+ make DESTDIR=$startdir/pkg sbindir=$startdir/pkg/sbin install || return 1
+ mkdir -p $startdir/pkg/etc/lvm/{archive,backup}
+ # a static binary is required for Arch's initrd
+ ./configure --prefix=/usr --sysconfdir=/etc --localstatedir=/var \
+ --enable-static_link
+ make || return 1
+ install -D -m755 tools/lvm.static $startdir/pkg/sbin/lvm.static
+ # add hook
+ install -D -m644 $startdir/src/lvm2_hook $startdir/pkg/lib/initcpio/hooks/lvm2
+ install -D -m644 $startdir/src/lvm2_install $startdir/pkg/lib/initcpio/install/lvm2
+}