diff options
Diffstat (limited to 'experimental/kpartx')
-rw-r--r-- | experimental/kpartx/APKBUILD | 32 |
1 files changed, 32 insertions, 0 deletions
diff --git a/experimental/kpartx/APKBUILD b/experimental/kpartx/APKBUILD new file mode 100644 index 000000000..00a4c909c --- /dev/null +++ b/experimental/kpartx/APKBUILD @@ -0,0 +1,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" |