void-packages/srcpkgs/abcm2ps/template

21 lines
554 B
Bash

# Template file for 'abcm2ps'
pkgname=abcm2ps
version=8.12.1
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=792eb95495f8b731d9487728a97778c7bcc2f3a389ad775e9dc0392fbb4bce60
pre_configure() {
sed -i configure \
-e 's/CFLAGS=.*/CFLAGS=\"${CFLAGS}\"/' \
-e 's:prefix=/usr/local:prefix=/usr:' \
-e 's/CC=.*/CC=${CC}/'
}