Hello,
I have created an ebuild for cdlabelgen, it works for me (merge, unmerge).
cdlabelgen's Makefile needs to be patched, as there is no autoconf support in
the original sources. The patch follows the ebuild. Maybe you find it useful.
cdlabelgen is a cd cover, envelope, and tray card creator.
Bye,
Christian V. J. Br
Hello,
I have created an ebuild for cdlabelgen, it works for me (merge, unmerge).
cdlabelgen's Makefile needs to be patched, as there is no autoconf support in
the original sources. The patch follows the ebuild. Maybe you find it useful.
cdlabelgen is a cd cover, envelope, and tray card creator.
Bye,
Christian V. J. Brüssow
P.S. I have also made an ebuild of gtkcdlabel, a GUI for cdlabelgen, if
cdlabelgen is of any value, I can submit the ebuild for gtkcdlabel, too.
*** EBUILD BEGIN ***
# Copyright 1999-2002 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License v2
# $Header: $
DESCRIPTION="A 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"
# Build-time dependencies: none, it is a perl script.
DEPEND=""
# Run-time dependencies, same as DEPEND if RDEPEND isn't defined:
RDEPEND=">=perl-5.6.1"
S=${WORKDIR}/${P}
src_unpack() {
unpack ${A}
cd ${S}
# Apply the makefile patch, this is the only configuration
# so far :-(
patch -p0 < ${FILESDIR}/${P}-makefile-gentoo.patch
}
#src_compile() {
#
# Nothing to do for us here.
#}
src_install () {
emake DESTDIR=${D} install || die
mkdir -p ${D}/usr/share/doc/${P} || die
dodoc README INSTALL INSTALL.WEB cdlabelgen-2.3.0.spec cdlabelgen.html
cdinsert.pl || die
}
*** END OF EBUILD ***
*** BEGIN OF PATCH ***
--- Makefile 2002-04-03 22:13:42.000000000 +0200
+++ Makefile.new 2002-07-17 19:16:52.000000000 +0200
@@ -8,9 +8,9 @@
# Change these to locations you need, also
# remember to edit cdlabelgen and its @where_is_the_template as needed.
-BASE_DIR = /usr/local
+BASE_DIR = $(DESTDIR)/usr
BIN_DIR = $(BASE_DIR)/bin
-LIB_DIR = $(BASE_DIR)/lib/cdlabelgen
+LIB_DIR = $(BASE_DIR)/share/cdlabelgen
SOURCES = cdlabelgen ChangeLog INSTALL README Makefile cdinsert.pl
INSTALL.WEB cdlabelgen.html cdlabelgen$(VERSION).spec
POSTSCRIPT = template.ps *.eps
DISTFILES = $(SOURCES) $(POSTSCRIPT)
@@ -37,7 +37,7 @@
for file in $(POSTSCRIPT); do \
$(INSTALL_FILE) postscript/$$file $(LIB_DIR)/; \
done
-
echo "** Done. Be sure to edit $(BIN_DIR)/cdlabelgen and fix
@where_is_the_template - if needed!"
+#
echo "** Done. Be sure to edit $(BIN_DIR)/cdlabelgen and fix
@where_is_the_template - if needed!"
dist: all
rm -rf cdlabelgen$(VERSION)
*** END OF PATCH ***
Committed as app-cdr/cdlabelgen. Thanks for submitting!
Of course you can submit your ebuild for gtkcdlabel, just file another bug report.
Also, please use the "Create a New Attachment" feature when submitting files
(like ebuilds). Thanks.