### this file is sourced not run
PKGVER=0.7.7
PKGBUILD=1
PKGARCH=x86_64

# source: james
TARBALL=multipath-tools-20180727.tar.bz2
MD5SUM=99b0a3f422fb94280dd62d11c056d939
SRC_URL=http://distro.ibiblio.org/fatdog/source/800/$TARBALL
BUNDLE=

SLACKREQ='lvm2' # 
SLACKDESC="kpartx: kpartx $PKGVER (Alternative loop-mounter)  
kpartx:  
kpartx: kpartx is a loop-mounter that can mount disk image files with 
kpartx: partitions. kpartx is part of multipath-tools.  
kpartx: 
kpartx: http://christophe.varoqui.free.fr/
kpartx: 
kpartx: 
kpartx: 
kpartx: 
kpartx: 
"

### default pkg_download
### default pkg_prepare
### default pkg_package
### build
pkg_build() {
	cd /tmp/multipath*/kpartx
	make $MAKEFLAGS && 
	install -m 755 kpartx /sbin &&
	gunzip -c kpartx.8.gz > /usr/share/man/man8/kpartx.8 &&
	pkg_build_slackdesc
}
