25 lines
800 B
Bash
25 lines
800 B
Bash
# Template file for 'a2ps'
|
|
pkgname=a2ps
|
|
version=4.15.6
|
|
revision=1
|
|
configure_args="--sysconfdir=/etc/a2ps --enable-shared --with-medium=A4"
|
|
build_style=gnu-configure
|
|
hostmakedepends="perl gperf m4 pkg-config"
|
|
_deps="ghostscript psutils groff cups"
|
|
makedepends="gc-devel libpaper-devel ${_deps}"
|
|
depends="${_deps}"
|
|
short_desc="Any to PS filter"
|
|
maintainer="Orphaned <orphan@voidlinux.org>"
|
|
license="GPL-3.0-or-later"
|
|
homepage="http://www.gnu.org/software/a2ps/"
|
|
distfiles="${GNU_SITE}/${pkgname}/${pkgname}-${version}.tar.gz"
|
|
checksum=87ff9d801cb11969181d5b8cf8b65e65e5b24bb0c76a1b825e8098f2906fbdf4
|
|
conf_files="/etc/a2ps/a2ps.cfg /etc/a2ps/a2ps-site.cfg"
|
|
|
|
LDFLAGS="-lm"
|
|
|
|
pre_configure() {
|
|
sed -i "s/GPERF --version |/& head -n 1 |/" ./configure
|
|
sed -i "s|/usr/local/share|/usr/share|" ./configure
|
|
}
|