#!/bin/sh -e # part of the gn*nix conspiracy http://gnnix.org # Copyright (C) Linus Sphinx 2004 # gnx functions make the distro system #------------------------------------------- gnxa2ps() { gnxunwrap ${1}b cd ${1}/contrib sed -i -e "s:emacs::" Makefile.in cd .. sed -i -e "s|/usr/local/share/ghostscript|/usr/share/ghostscript|g" configure sed -i -e "s|/usr/local/share|/usr/share|" configure sed -i -e "s|char \*malloc ();|/* char *malloc (); */|" lib/path-concat.c gnxconfigure --prefix=${PREFIX} --sysconfdir=/etc/a2ps --localstatedir=/var --with-medium=letter gnxfilelist start ${1}b gnxmake gnxmake install gnxfilelist finish ${1}b } #eof