Skip to content

Instantly share code, notes, and snippets.

@tpruvot
Last active August 29, 2015 14:10
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save tpruvot/c4e058c549f45f91287e to your computer and use it in GitHub Desktop.
Save tpruvot/c4e058c549f45f91287e to your computer and use it in GitHub Desktop.
cpuminer-multi crux source package
# Description: cryptocurrency cpu miner (multi algos)
# URL: http://github.com/tpruvot/cpuminer-multi
# Maintainer: Tanguy Pruvot tpruvot@github
name=cpuminer-multi
version=1.0.8
release=1
source=(https://github.com/tpruvot/cpuminer-multi/archive/v$version-multi.tar.gz)
extracflags="-march=native -DUSE_ASM"
build() {
cd $name-$version-multi
./autogen.sh
./configure --prefix=/usr --with-crypto --with-curl CFLAGS="$extracflags"
make DESTDIR=$PKG
mkdir -p $PKG/usr/bin
cp minerd $PKG/usr/bin/cpuminer-multi
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment