void-packages/srcpkgs/abcm2ps/template

21 lines
554 B
Bash

# Template file for 'abcm2ps'
pkgname=abcm2ps
version=8.12.3
revision=1
build_style=configure
hostmakedepends="pkg-config"
makedepends="pango-devel"
short_desc="ABC music notation software"
maintainer="lemmi <lemmi@nerd2nerd.org>"
license="GPL-2"
homepage="http://moinejf.free.fr/"
distfiles="${homepage}/abcm2ps-${version}.tar.gz"
checksum=d599a851b51e93659813445efe9b31177d62f779daffc9e5a67e67a5324789a6
pre_configure() {
sed -i configure \
-e 's/CFLAGS=.*/CFLAGS=\"${CFLAGS}\"/' \
-e 's:prefix=/usr/local:prefix=/usr:' \
-e 's/CC=.*/CC=${CC}/'
}