summaryrefslogtreecommitdiffstats
path: root/main
diff options
context:
space:
mode:
authorNatanael Copa <ncopa@alpinelinux.org>2009-08-20 13:03:47 +0000
committerNatanael Copa <ncopa@alpinelinux.org>2009-08-20 13:03:47 +0000
commitb9bd58ea5d9f1c07d2d499589532bc7ce44d3676 (patch)
tree66a9aa18b2a519712132a02cccfc2f1cfd8a94f4 /main
parent444e5cecc90834426d7d45f2e1b4aaed18e07907 (diff)
downloadaports-b9bd58ea5d9f1c07d2d499589532bc7ce44d3676.tar.bz2
aports-b9bd58ea5d9f1c07d2d499589532bc7ce44d3676.tar.xz
main/lvm2: device-mapper subpackage
Diffstat (limited to 'main')
-rw-r--r--main/lvm2/APKBUILD12
1 files changed, 10 insertions, 2 deletions
diff --git a/main/lvm2/APKBUILD b/main/lvm2/APKBUILD
index d113a383c..d99391740 100644
--- a/main/lvm2/APKBUILD
+++ b/main/lvm2/APKBUILD
@@ -1,7 +1,7 @@
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=lvm2
pkgver=2.02.48
-pkgrel=0
+pkgrel=1
pkgdesc="Logical Volume Manager 2 utilities"
url="http://sourceware.org/lvm2/"
license="GPL"
@@ -10,7 +10,7 @@ makedepends="readline-dev"
source="ftp://sources.redhat.com/pub/$pkgname/LVM2.$pkgver.tgz
lvm.initd
"
-subpackages="$pkgname-dev $pkgname-doc"
+subpackages="$pkgname-dev $pkgname-doc device-mapper:dm"
build () {
cd "$srcdir"/LVM2.$pkgver
@@ -31,5 +31,13 @@ build () {
install -d "$pkgdir"/etc/lvm/archive "$pkgdir"/etc/lvm/backup
install -Dm755 "$srcdir"/lvm.initd "$pkgdir"/etc/init.d/lvm
}
+
+dm() {
+ pkgdesc="Device mapper userspace library and tools from LVM2"
+ mkdir -p "$subpkgdir"/sbin
+ mv "$pkgdir"/lib "$subpkgdir"/
+ mv "$pkgdir"/sbin/dm* "$subpkgdir"/sbin/
+}
+
md5sums="0d24c2709f439eeca36261e5cea68330 LVM2.2.02.48.tgz
e60d88f78eedb9c1252deb5b9b9b978b lvm.initd"