diff options
Diffstat (limited to 'app-cdr/cdlabelgen/cdlabelgen-2.6.1.ebuild')
-rw-r--r-- | app-cdr/cdlabelgen/cdlabelgen-2.6.1.ebuild | 17 |
1 files changed, 8 insertions, 9 deletions
diff --git a/app-cdr/cdlabelgen/cdlabelgen-2.6.1.ebuild b/app-cdr/cdlabelgen/cdlabelgen-2.6.1.ebuild index 60032eab8b86..bcd5df894858 100644 --- a/app-cdr/cdlabelgen/cdlabelgen-2.6.1.ebuild +++ b/app-cdr/cdlabelgen/cdlabelgen-2.6.1.ebuild @@ -1,6 +1,6 @@ # Copyright 1999-2003 Gentoo Technologies, Inc. # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/app-cdr/cdlabelgen/cdlabelgen-2.6.1.ebuild,v 1.3 2003/09/22 22:31:36 zul Exp $ +# $Header: /var/cvsroot/gentoo-x86/app-cdr/cdlabelgen/cdlabelgen-2.6.1.ebuild,v 1.4 2003/09/23 00:05:04 msterret Exp $ DESCRIPTION="CD cover, tray card and envelope generator" HOMEPAGE="http://www.aczone.com/tools/cdinsert" @@ -11,23 +11,22 @@ KEYWORDS="x86 ~ppc" RDEPEND=">=perl-5.6.1" DEPEND="sys-apps/tar + >=sys-apps/sed-4 sys-apps/gzip" -S="${WORKDIR}/${P}" - src_compile() { - cp Makefile Makefile.bak - sed -e "s:BASE_DIR = /usr/local:BASE_DIR = ${D}/usr:g" \ + sed -i \ + -e "s:BASE_DIR = /usr/local:BASE_DIR = ${D}/usr:g" \ -e "s:LIB_DIR = \$(BASE_DIR)/lib/cdlabelgen:LIB_DIR = \$(BASE_DIR)/share/cdlabelgen:g" \ -e "s:\$(INSTALL) cdlabelgen.1 \$(MAN_DIR)/man1::g" \ - Makefile.bak > Makefile - + Makefile || \ + die "sed Makefile failed" + } src_install() { - emake install || die "install problem" + make install || die "make install failed" dodoc README INSTALL.WEB *.spec cdinsert.pl dohtml *.html - doman cdlabelgen.1 } |