diff options
Diffstat (limited to 'app-cdr/cdlabelgen/cdlabelgen-3.0.0.ebuild')
-rw-r--r-- | app-cdr/cdlabelgen/cdlabelgen-3.0.0.ebuild | 12 |
1 files changed, 9 insertions, 3 deletions
diff --git a/app-cdr/cdlabelgen/cdlabelgen-3.0.0.ebuild b/app-cdr/cdlabelgen/cdlabelgen-3.0.0.ebuild index 8f805d505011..744db9000c3a 100644 --- a/app-cdr/cdlabelgen/cdlabelgen-3.0.0.ebuild +++ b/app-cdr/cdlabelgen/cdlabelgen-3.0.0.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-3.0.0.ebuild,v 1.1 2003/11/24 23:56:24 zul Exp $ +# $Header: /var/cvsroot/gentoo-x86/app-cdr/cdlabelgen/cdlabelgen-3.0.0.ebuild,v 1.2 2003/11/26 03:14:53 zul Exp $ DESCRIPTION="CD cover, tray card and envelope generator" HOMEPAGE="http://www.aczone.com/tools/cdinsert" @@ -11,10 +11,16 @@ KEYWORDS="~x86 ~ppc" RDEPEND=">=perl-5.6.1" DEPEND="app-arch/tar - app-arch/gzip" + app-arch/gzip + >=sys-apps/sed-4" src_compile() { - patch -p1 -i ${FILESDIR}/makefile.patch-2.6.0 + 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 || die "sed Makefile failed" } src_install() { |