diff options
Diffstat (limited to 'main')
-rw-r--r-- | main/multipath-tools/APKBUILD | 17 |
1 files changed, 10 insertions, 7 deletions
diff --git a/main/multipath-tools/APKBUILD b/main/multipath-tools/APKBUILD index 7c115d067f..75a8d5c4ef 100644 --- a/main/multipath-tools/APKBUILD +++ b/main/multipath-tools/APKBUILD @@ -1,9 +1,9 @@ # Maintainer: Leonardo Arena <rnalrd@alpinelinux.org> -pkgname="multipath-tools" +pkgname=multipath-tools pkgver=0.7.6 pkgrel=2 pkgdesc="Device Mapper Multipathing Driver" -url="http://christophe.varoqui.free.fr/" +url="http://christophe.varoqui.free.fr" arch="all" license="GPL" depends="eudev" @@ -24,18 +24,21 @@ builddir="$srcdir"/multipath-tools-$_snapdirsuffix build() { cd $builddir + make prefix="/usr" \ sysconfdir="/etc" \ mandir="/usr/share/man" \ - infodir="/usr/share/info" || return 1 + infodir="/usr/share/info" } package() { cd $builddir - make DESTDIR="$pkgdir" install || return 1 - install -D -m644 "$srcdir"/$pkgname.conf $pkgdir/etc/multipath.conf - install -D -m644 "$srcdir"/$pkgname.confd $pkgdir/etc/conf.d/multipathd - install -D -m755 "$srcdir"/$pkgname.initd $pkgdir/etc/init.d/multipathd + + make DESTDIR="$pkgdir" install + + install -D -m644 "$srcdir"/$pkgname.conf "$pkgdir"/etc/multipath.conf + install -D -m644 "$srcdir"/$pkgname.confd "$pkgdir"/etc/conf.d/multipathd + install -D -m755 "$srcdir"/$pkgname.initd "$pkgdir"/etc/init.d/multipathd } sha512sums="dc0c0d4f6165c5e7c9fa4535af697a91beb7cef7cf664b15b768c76e43d63e22b21951a1909dfa59a3e34478f45bdb7b0fade940b9ccb49b0af66960293e5a98 multipath-tools-0.7.6.tar.gz |