New package: b2sum-20140114
This commit is contained in:
parent
9173abf284
commit
9b58e0f5d3
1 changed files with 26 additions and 0 deletions
26
srcpkgs/b2sum/template
Normal file
26
srcpkgs/b2sum/template
Normal file
|
@ -0,0 +1,26 @@
|
|||
# Template file for 'b2sum'
|
||||
pkgname=b2sum
|
||||
version=20140114
|
||||
revision=1
|
||||
wrksrc="blake2_code_${version}/b2sum"
|
||||
build_style=gnu-makefile
|
||||
hostmakedepends="unzip"
|
||||
short_desc="Compute BLAKE2 cryptographic hash"
|
||||
maintainer="Christian Neukirchen <chneukirchen@gmail.com>"
|
||||
license="Public Domain"
|
||||
homepage="https://blake2.net/"
|
||||
distfiles="https://blake2.net/blake2_code_${version}.zip"
|
||||
update_pkgname="blake2_code"
|
||||
checksum=456e6ac99ed4661ef8502526b0927f790699d232fbaf5b0ddbe3a64cc8d612e9
|
||||
|
||||
do_build() {
|
||||
case "$XBPS_TARGET_MACHINE" in
|
||||
i686*|x86_64*) _dir=../sse;;
|
||||
*) _dir=../ref;;
|
||||
esac
|
||||
${CC} -std=c99 ${CFLAGS} -o b2sum *.c ${_dir}/blake*.c -I${_dir} ${LDFLAGS}
|
||||
}
|
||||
|
||||
do_install() {
|
||||
vbin b2sum
|
||||
}
|
Loading…
Reference in a new issue