python-texttable: update to 1.3.1
[void-packages.git] / srcpkgs / m2m-aligner / template
blobf35e8c2d260a41a3f18fb19f439fcc0ce8c0ff68
1 # Template file for 'm2m-aligner'
2 pkgname=m2m-aligner
3 version=1.2
4 revision=4
5 short_desc="Implementation of many-to-many alignments for string transduction"
6 maintainer="Martin Riese <grauehaare@gmx.de>"
7 license="MIT"
8 homepage="https://code.google.com/p/m2m-aligner/"
9 distfiles="https://storage.googleapis.com/google-code-archive-downloads/v2/code.google.com/m2m-aligner/${pkgname}-${version}.tar.gz"
10 checksum="ca5b1176293e91f797f3588c01390d046e2dae0278034044f8a081d6bd674e91"
12 pre_build() {
13         sed -e "s,g++,$CXX,g" -i makefile
14         sed -e "s|CFLAGS=|CFLAGS=${CFLAGS} |g" \
15                 -e "s|LDFLAGS=|& ${LDFLAGS} |g" -i makefile
17 do_build() {
18         make ${makejobs}
20 do_install() {
21         vbin m2m-aligner
22         vlicense COPYING