diff options
author | Leonardo Arena <rnalrd@alpinelinux.org> | 2011-11-02 14:57:01 +0000 |
---|---|---|
committer | Leonardo Arena <rnalrd@alpinelinux.org> | 2011-11-02 14:57:01 +0000 |
commit | ecdfee447ead16c4572c0b404988d9ea2642558a (patch) | |
tree | bf2e69ec472cea6cf4b740dedc4d2df77ea856cd /testing/drbd | |
parent | fd9461327c8d10cf49c65fc728e1c123043b7ae7 (diff) | |
download | aports-ecdfee447ead16c4572c0b404988d9ea2642558a.tar.bz2 aports-ecdfee447ead16c4572c0b404988d9ea2642558a.tar.xz |
testing/drbd: new aport
Network-based RAID 1 for HA clusters. Userland utils.
Diffstat (limited to 'testing/drbd')
-rw-r--r-- | testing/drbd/APKBUILD | 41 |
1 files changed, 41 insertions, 0 deletions
diff --git a/testing/drbd/APKBUILD b/testing/drbd/APKBUILD new file mode 100644 index 0000000000..77dbff042d --- /dev/null +++ b/testing/drbd/APKBUILD @@ -0,0 +1,41 @@ +# Contributor: Leonardo Arena <rnalrd@alpinelinux.org> +# Maintainer: +pkgname=drbd +pkgver=8.4.0 +pkgbase=8.4 +pkgrel=0 +pkgdesc="Network-based RAID 1" +url="http://www.drbd.org" +arch="all" +license="GPL" +depends="bash" +depends_dev="bash bison flex" +makedepends="$depends_dev" +install= +subpackages="$pkgname-doc" +source="http://oss.linbit.com/$pkgname/$pkgbase/$pkgname-$pkgver.tar.gz" + + +_builddir="$srcdir"/$pkgname-$pkgver + +prepare() { + cd "$_builddir" + sed -i "s/mv --force/mv -f/" drbd/Makefile || return 1 +} + +build() { + cd "$_builddir" + ./configure --prefix=/usr \ + --sysconfdir=/etc \ + --mandir=/usr/share/man \ + --infodir=/usr/share/info \ + --localstatedir=/var + make || return 1 +} + +package() { + cd "$_builddir" + make DESTDIR="$pkgdir" install +} + +md5sums="8519246dff4e2de14595d71abcd54db4 drbd-8.4.0.tar.gz" |