Mail archive
alpine-aports

[alpine-aports] testing/snapraid: new aport

From: Xavier Garcia <xavier_at_xnaove.com>
Date: Fri, 3 Jun 2016 19:25:42 +0200

# Contributor: Xavier Garcia <alpine_at_xnaove.com>
# Maintainer:
pkgname=snapraid
pkgver=10.0
pkgrel=0
pkgdesc="SnapRAID is a backup program for disk arrays. It stores parity
information and it recovers from up to six disk failures."
url="http://www.snapraid.it"
arch="all"
license="GPLv3"
depends=""
depends_dev="gcc"
makedepends="$depends_dev"
options="!strip"
install=""
subpackages="$pkgname-doc"
source="
https://github.com/amadvance/snapraid/releases/download/v$pkgver/snapraid-$pkgver.tar.gz
"

_builddir="$srcdir"/$pkgname-$pkgver
prepare() {
        local i
        cd "$_builddir"
        for i in $source; do
                case $i in
                *.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;;
                esac
        done
}

build() {
        cd "$_builddir"
        ./configure
        make || return 1
}

package() {
        cd "$_builddir"
        make DESTDIR="$pkgdir" prefix="/usr" install || return 1
}
md5sums="b2da5734ca2e1a9b655837a39522867f snapraid-10.0.tar.gz"
sha256sums="f7dcf19480256fc2c1db9ab976aa12f786e76da6044cc397f0451524e8031ad6
snapraid-10.0.tar.gz"
sha512sums="cd4af07c3dc3b2399287bf0aa273c01a32fd2e8fd4ad8b98f37e36a069b8092d7a4f69199fea4d110dda0d3059af5e8111e9fa7662829620a525efd01462872c
snapraid-10.0.tar.gz"



---
Unsubscribe:  alpine-aports+unsubscribe_at_lists.alpinelinux.org
Help:         alpine-aports+help_at_lists.alpinelinux.org
---
Received on Fri Jun 03 2016 - 19:25:42 GMT