# Copyright 1999-2004 Gentoo Foundation # 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.10 2004/10/05 11:22:55 pvdabeel Exp $ DESCRIPTION="CD cover, tray card and envelope generator" HOMEPAGE="http://www.aczone.com/tools/cdinsert" SRC_URI="http://www.aczone.com/pub/tools/${P}.tgz" LICENSE="GPL-2" SLOT="0" KEYWORDS="x86 ppc" IUSE="" RDEPEND=">=dev-lang/perl-5.6.1" DEPEND="app-arch/tar >=sys-apps/sed-4 app-arch/gzip" src_compile() { 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() { make install || die "make install failed" dodoc README INSTALL.WEB *.spec cdinsert.pl dohtml *.html doman cdlabelgen.1 }