blob: 00a4c909cb004c8afe9bfe0670f8c9c82701be2c (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
|
# Contributor: CyberLeo <cyberleo@cyberleo.net>
# Maintainer: CyberLeo <cyberleo@cyberleo.net>
pkgname=kpartx
pkgver=0.8.4
pkgrel=0
pkgdesc="Manipulates device mappings for the partitions of any block device; part of linux multipath-tools."
url="http://christophe.varoqui.free.fr/"
arch="all"
options="!check" # Requires root and loopback kernel module.
license="LGPL-2.0"
depends=""
makedepends="lvm2-dev"
subpackages="$pkgname-doc"
source="https://git.opensvc.com/?p=multipath-tools/.git;a=snapshot;h=refs/tags/$pkgver;sf=tgz;/multipath-tools-$pkgver.tar.gz"
builddir="$srcdir/multipath-tools-$pkgver"
build() {
cd kpartx
make kpartx
}
check() {
cd kpartx
./test-kpartx
}
package() {
cd kpartx
make DESTDIR="$pkgdir" install
}
sha512sums="130308e61d6dce31085fc2763219f4df0f3ad9153e0e6e7a5a1c3c948a2305cff9413699025c28f9b81dd24d2a9263f9fa825253060e44232c3bb6600cd1f07f multipath-tools-0.8.4.tar.gz"
|