void-packages/srcpkgs/m2m-aligner/template

24 lines
701 B
Bash

# Template file for 'm2m-aligner'
pkgname=m2m-aligner
version=1.2
revision=4
short_desc="Implementation of many-to-many alignments for string transduction"
maintainer="Martin Riese <grauehaare@gmx.de>"
license="MIT"
homepage="https://code.google.com/p/m2m-aligner/"
distfiles="https://storage.googleapis.com/google-code-archive-downloads/v2/code.google.com/m2m-aligner/${pkgname}-${version}.tar.gz"
checksum="ca5b1176293e91f797f3588c01390d046e2dae0278034044f8a081d6bd674e91"
pre_build() {
sed -e "s,g++,$CXX,g" -i makefile
sed -e "s|CFLAGS=|CFLAGS=${CFLAGS} |g" \
-e "s|LDFLAGS=|& ${LDFLAGS} |g" -i makefile
}
do_build() {
make ${makejobs}
}
do_install() {
vbin m2m-aligner
vlicense COPYING
}