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, 13 insertions, 4 deletions
diff --git a/app-cdr/cdlabelgen/cdlabelgen-2.6.1.ebuild b/app-cdr/cdlabelgen/cdlabelgen-2.6.1.ebuild index 8956a36ec255..60032eab8b86 100644 --- a/app-cdr/cdlabelgen/cdlabelgen-2.6.1.ebuild +++ b/app-cdr/cdlabelgen/cdlabelgen-2.6.1.ebuild @@ -1,24 +1,33 @@ # 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.2 2003/09/22 01:30:56 zul Exp $ +# $Header: /var/cvsroot/gentoo-x86/app-cdr/cdlabelgen/cdlabelgen-2.6.1.ebuild,v 1.3 2003/09/22 22:31:36 zul 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" +KEYWORDS="x86 ~ppc" RDEPEND=">=perl-5.6.1" DEPEND="sys-apps/tar sys-apps/gzip" +S="${WORKDIR}/${P}" + src_compile() { - epatch ${FILESDIR}/makefile.patch-${PV} + cp Makefile Makefile.bak + sed -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 + } src_install() { - emake DESTDIR="${D}" install || die "install problem" + emake install || die "install problem" dodoc README INSTALL.WEB *.spec cdinsert.pl dohtml *.html + + doman cdlabelgen.1 } |