Skip to content
Snippets Groups Projects
Commit 8351a8e8 authored by Carlo Landmeter's avatar Carlo Landmeter
Browse files

main/lvm2: split bash/coreutils scripts

parent f838dc38
No related merge requests found
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=lvm2
pkgver=2.02.167
pkgrel=0
pkgrel=1
pkgdesc="Logical Volume Manager 2 utilities"
url="http://sourceware.org/lvm2/"
arch="all"
......@@ -20,8 +20,14 @@ source="ftp://sources.redhat.com/pub/$pkgname/LVM2.$pkgver.tgz
lvm.confd
dmeventd.initd
"
subpackages="$pkgname-dev $pkgname-doc $pkgname-dmeventd device-mapper:dm
$pkgname-libs"
subpackages="
$pkgname-dev
$pkgname-doc
$pkgname-dmeventd
device-mapper:dm
$pkgname-libs
$pkgname-extra
"
builddir="$srcdir/LVM2.$pkgver"
......@@ -86,6 +92,16 @@ libs() {
mv "$pkgdir"/lib/liblvm2*.so.* "$subpkgdir"/lib/
}
extra() {
pkgdesc="LVM2 extra utilities"
depends="bash coreutils"
local util
for util in sbin/lvmdump sbin/lvmconf sbin/fsadm sbin/blkdeactivate; do
mkdir -p "$subpkgdir/${util%/*}"
mv $pkgdir/$util $subpkgdir/$util
done
}
md5sums="3031ce59631e4fd5bab7ee948997941c LVM2.2.02.167.tgz
861c959f143b40277b8b70e63f24312d fix-stdio-usage.patch
3f4a9d57620f240f6bf389c1debc2ba5 mallinfo.patch
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment