[arch-commits] Commit in (cm256cc cm256cc/repos cm256cc/trunk cm256cc/trunk/PKGBUILD)
Filipe Laíns
ffy00 at archlinux.org
Thu Aug 16 15:55:24 UTC 2018
Date: Thursday, August 16, 2018 @ 15:55:24
Author: ffy00
Revision: 371983
import from aur
Added:
cm256cc/
cm256cc/repos/
cm256cc/trunk/
cm256cc/trunk/PKGBUILD
----------+
PKGBUILD | 36 ++++++++++++++++++++++++++++++++++++
1 file changed, 36 insertions(+)
Added: cm256cc/trunk/PKGBUILD
===================================================================
--- cm256cc/trunk/PKGBUILD (rev 0)
+++ cm256cc/trunk/PKGBUILD 2018-08-16 15:55:24 UTC (rev 371983)
@@ -0,0 +1,36 @@
+# $Id$
+# Maintainer: Filipe Laíns (FFY00) <filipe.lains at gmail.com>
+
+pkgname=cm256cc
+pkgver=1.0.0
+pkgrel=2
+pkgdesc="Fast GF(256) Cauchy MDS Block Erasure Codec in C++"
+arch=('x86_64')
+url="https://github.com/f4exb/cm256cc"
+depends=('boost')
+license=('GPL')
+makedepends=('cmake')
+source=("$pkgname-$pkgver.tar.gz::$url/archive/v$pkgver.tar.gz")
+sha512sums=('753191dee11a82f6281574a7529a96a28d20c318c143a1308a083d1f2cd5ec8bd5b9058dd6d8e3c1c895021fc2b4ef3356dd504b299aec3db6b8856e2f147890')
+
+build() {
+ mkdir -p "$srcdir"/$pkgname-$pkgver/build
+ cd "$srcdir"/$pkgname-$pkgver/build
+
+ cmake .. \
+ -DCMAKE_BUILD_TYPE=Release \
+ -DCMAKE_INSTALL_LIBDIR=lib \
+ -DCMAKE_INSTALL_PREFIX=/usr
+
+ make
+}
+
+check() {
+ "$srcdir"/$pkgname-$pkgver/build/cm256_test
+}
+
+package() {
+ cd "$srcdir"/$pkgname-$pkgver/build
+
+ make DESTDIR="$pkgdir" install
+}
Property changes on: cm256cc/trunk/PKGBUILD
___________________________________________________________________
Added: svn:keywords
## -0,0 +1 ##
+Id
\ No newline at end of property
More information about the arch-commits
mailing list