diff options
author | Parabola <dev@list.parabolagnulinux.org> | 2011-04-05 14:26:38 +0000 |
---|---|---|
committer | Parabola <dev@list.parabolagnulinux.org> | 2011-04-05 14:26:38 +0000 |
commit | 415856bdd4f48ab4f2732996f0bae58595092bbe (patch) | |
tree | ede2018b591f6dfb477fe9341ba17b9bc000fab9 /community/multipath-tools/PKGBUILD |
Tue Apr 5 14:26:38 UTC 2011
Diffstat (limited to 'community/multipath-tools/PKGBUILD')
-rw-r--r-- | community/multipath-tools/PKGBUILD | 46 |
1 files changed, 46 insertions, 0 deletions
diff --git a/community/multipath-tools/PKGBUILD b/community/multipath-tools/PKGBUILD new file mode 100644 index 000000000..1fd153d38 --- /dev/null +++ b/community/multipath-tools/PKGBUILD @@ -0,0 +1,46 @@ +# Maintainer: Thomas S Hatch <thatch45 ar gmail dot com> +# Contributor: Michael P <ptchinster@archlinux.us> +# Contributor: Matt Heagney <matt@heagney.com> +pkgname=multipath-tools +pkgver=0.4.9 +pkgrel=4 +pkgdesc="Multipath Tools For Linux" +arch=('i686' 'x86_64') +url="http://christophe.varoqui.free.fr/" +license=('GPL') +depends=('libaio' 'device-mapper') +makedepends=() +provides=() +conflicts=() +replaces=() +backup=('etc/multipath.conf' 'etc/multipath.conf.annotated' 'etc/rc.d/multipathd' ) +install=multipath-tools.install +source=("http://christophe.varoqui.free.fr/multipath-tools/$pkgname-$pkgver.tar.bz2" + "multipath.conf" + "multipath.conf.annotated" + "multipathd.rc") +noextract=() +md5sums=('a6d4b48afc28f1f50f5ee4b1b06d2765' + 'd0fb11398cc628c7997111efdc5d52e5' + '5a93f993ec05fc99094d5139aabd3925' + '1c2dcf43a6b5ae84ec1fae0fee071336') + +build() { + #Needs to be fixed upstream. Refer to + # https://bbs.archlinux.org/viewtopic.php?pid=793814#p793814 + cd "$srcdir" + + env LDFLAGS=${LDFLAGS//-Wl,--as-needed}\ + make +} + +package() { + cd $srcdir + + make LIB="lib" DESTDIR="$pkgdir" install + + install -D -m 644 $srcdir/multipath.conf $pkgdir/etc/multipath.conf + install -D -m 644 $srcdir/multipath.conf.annotated $pkgdir/etc/multipath.conf.annotated + install -D -m 755 $srcdir/multipathd.rc $pkgdir/etc/rc.d/multipathd +} + |