summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChuck Short <zul@gentoo.org>2003-11-26 03:15:08 +0000
committerChuck Short <zul@gentoo.org>2003-11-26 03:15:08 +0000
commitdd1de56b1c31839495e3c1f813f3a76b14d080b1 (patch)
tree02deaeff87acdadf61206c3fe21ee6a09af260c8 /app-cdr/cdlabelgen/cdlabelgen-3.0.0.ebuild
parentFixed SRC_URI. (diff)
downloadgentoo-2-dd1de56b1c31839495e3c1f813f3a76b14d080b1.tar.gz
gentoo-2-dd1de56b1c31839495e3c1f813f3a76b14d080b1.tar.bz2
gentoo-2-dd1de56b1c31839495e3c1f813f3a76b14d080b1.zip
Fixed sandbox error.
Diffstat (limited to 'app-cdr/cdlabelgen/cdlabelgen-3.0.0.ebuild')
-rw-r--r--app-cdr/cdlabelgen/cdlabelgen-3.0.0.ebuild12
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() {