# Copyright 1999-2002 Gentoo Technologies, Inc. # Distributed under the terms of the GNU General Public License, v2 or later # Author: Maik Schreiber # /space/gentoo/cvsroot/gentoo-x86/app-admin/pwgen/pwgen-2.01.ebuild,v 1.2 2002/05/27 17:27:34 drobbins Exp S="${WORKDIR}" HOMEPAGE="http://regina-rexx.sourceforge.net" DESCRIPTION="Portable Rexx interpreter" SRC_URI="http://unc.dl.sourceforge.net/sourceforge/regina-rexx/regina301.zip" RDEPEND="virtual/glibc" DEPEND="${RDEPEND}" LICENSE="LGPL-2.1" src_compile() { autoconf || die "autoconf problem" ./configure --prefix=${D}/usr || die "configure problem" mv Makefile Makefile~ sed Makefile \ -e 's|-$(INSTALL) -m 755 -c ./rxstack.init.d $(STARTUPDIR)/rxstack||' emake || die "make problem" } src_install() { make install || die "install problem" exeinto /etc/init.d newexe ${FILESDIR}/rc_rxstack rxstack dodoc BUGS COPYING-LIB HACKERS.txt README.Unix README_SAFE \ TODO demo } pkg_postinst() { einfo "You may want to run" einfo "" einfo "\trc-update add rxstack default" einfo "" einfo "to enable Rexx queues (optional)." }