diff options
author | Natanael Copa <ncopa@alpinelinux.org> | 2009-02-13 16:16:09 +0000 |
---|---|---|
committer | Natanael Copa <ncopa@alpinelinux.org> | 2009-02-13 16:16:09 +0000 |
commit | 8bd29a287e98104263af412415bd5325100c0e44 (patch) | |
tree | 84a61a2054bf2d3a364272dd2a146816b0c39b79 /core | |
parent | 2e9ea765a7a3c48241b1ac989fd6bab7743c56cb (diff) | |
download | aports-8bd29a287e98104263af412415bd5325100c0e44.tar.bz2 aports-8bd29a287e98104263af412415bd5325100c0e44.tar.xz |
core/lvm2: new aport
Logical Volume Manager 2 utilities
http://sourceware.org/lvm2/
Diffstat (limited to 'core')
-rw-r--r-- | core/lvm2/APKBUILD | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/core/lvm2/APKBUILD b/core/lvm2/APKBUILD new file mode 100644 index 0000000000..66c5c64b4e --- /dev/null +++ b/core/lvm2/APKBUILD @@ -0,0 +1,31 @@ +# Maintainer: Natanael Copa <ncopa@alpinelinux.org> +pkgname=lvm2 +pkgver=2.02.44 +pkgrel=0 +pkgdesc="Logical Volume Manager 2 utilities" +url="http://sourceware.org/lvm2/" +license="GPL" +depends="uclibc readline" +makedepends="readline-dev" +source="ftp://sources.redhat.com/pub/$pkgname/LVM2.$pkgver.tgz" +subpackages="$pkgname-dev $pkgname-doc" + +build () { + cd "$srcdir"/LVM2.$pkgver + + ./configure --prefix=/usr \ + --sysconfdir=/etc \ + --libdir=/lib \ + --sbindir=/sbin \ + --localstatedir=/var \ + --disable-nls \ + CLDFLAGS="$LDFLAGS" \ + || return 1 + + # TODO: fix parallel builds + make -j1 || return 1 + make -j1 DESTDIR="$pkgdir" install || return 1 + + install -d "$pkgdir"/etc/lvm/archive "$pkgdir"/etc/lvm/backup +} +md5sums="4ed7b99903a6fc5165b7b0b8def42486 LVM2.2.02.44.tgz" |