aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJakub Jirutka <jakub@jirutka.cz>2018-05-21 00:44:21 +0200
committerJakub Jirutka <jakub@jirutka.cz>2018-05-21 01:03:02 +0200
commit879f66b4d8ac3ce3d818e10938fe1290d8dec8db (patch)
treebd1d03e6e434d31934d4c16c31b75f12d98abb4e
parentc91126b55cdf4bf4e497a17791bda4dde1870d43 (diff)
downloadaports-879f66b4d8ac3ce3d818e10938fe1290d8dec8db.tar.bz2
aports-879f66b4d8ac3ce3d818e10938fe1290d8dec8db.tar.xz
main/multipath-tools: improve abuild
-rw-r--r--main/multipath-tools/APKBUILD17
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