summaryrefslogtreecommitdiff
path: root/packages/enscript
diff options
context:
space:
mode:
authorKoen Kooi <koen@openembedded.org>2005-06-30 08:19:37 +0000
committerOpenEmbedded Project <openembedded-devel@lists.openembedded.org>2005-06-30 08:19:37 +0000
commitc8e5702127e507e82e6f68a4b8c546803accea9d (patch)
tree00583491f40ecc640f2b28452af995e3a63a09d7 /packages/enscript
parent87ec8ca4d2e2eb4d1c1e1e1a6b46a395d56805b9 (diff)
import clean BK tree at cset 1.3670
Diffstat (limited to 'packages/enscript')
-rw-r--r--packages/enscript/.mtn2git_empty0
-rw-r--r--packages/enscript/enscript-1.6.4/.mtn2git_empty0
-rw-r--r--packages/enscript/enscript-1.6.4/autotools.patch94
-rw-r--r--packages/enscript/enscript_1.6.4.bb11
4 files changed, 105 insertions, 0 deletions
diff --git a/packages/enscript/.mtn2git_empty b/packages/enscript/.mtn2git_empty
new file mode 100644
index 0000000000..e69de29bb2
--- /dev/null
+++ b/packages/enscript/.mtn2git_empty
diff --git a/packages/enscript/enscript-1.6.4/.mtn2git_empty b/packages/enscript/enscript-1.6.4/.mtn2git_empty
new file mode 100644
index 0000000000..e69de29bb2
--- /dev/null
+++ b/packages/enscript/enscript-1.6.4/.mtn2git_empty
diff --git a/packages/enscript/enscript-1.6.4/autotools.patch b/packages/enscript/enscript-1.6.4/autotools.patch
index e69de29bb2..fa96b8ab6b 100644
--- a/packages/enscript/enscript-1.6.4/autotools.patch
+++ b/packages/enscript/enscript-1.6.4/autotools.patch
@@ -0,0 +1,94 @@
+
+#
+# Patch managed by http://www.holgerschurig.de/patcher.html
+#
+
+--- enscript-1.6.4/configure.in~autotools
++++ enscript-1.6.4/configure.in
+@@ -11,6 +11,8 @@
+
+ AC_PROG_INSTALL
+
++AC_PROG_CC
++
+ AC_ARG_WITH(cc,
+ [ --with-cc(=CC) use system's native compiler (or compiler CC)],
+ if test "X$withval" != "Xno"; then
+@@ -25,10 +27,6 @@
+ fi
+ )
+
+-if test "X$CC" = "X"; then
+- AC_PROG_CC
+-fi
+-
+ AC_ISC_POSIX
+ AM_C_PROTOTYPES
+
+--- enscript-1.6.4/Makefile.am~autotools
++++ enscript-1.6.4/Makefile.am
+@@ -31,4 +31,4 @@
+ 88595.txt 88597.txt 88599.txt 885910.txt ibmpc.txt mac.txt vms.txt \
+ hp8.txt koi8.txt mtr.eps mtr_small.eps mtr_tiny.eps
+
+-ACLOCAL_AMFLAGS = -I m4
++#ACLOCAL_AMFLAGS = -I m4
+--- enscript-1.6.4/afm/Makefile.am~autotools
++++ enscript-1.6.4/afm/Makefile.am
+@@ -36,11 +36,11 @@
+ EXTRA_DIST = font.map $(default_afm) $(public_fonts)
+
+ install-data-local:
+- $(top_srcdir)/mkinstalldirs $(datadir)/enscript
+- $(top_srcdir)/mkinstalldirs $(datadir)/enscript/afm
++ $(top_srcdir)/mkinstalldirs $(DESTDIR)$(datadir)/enscript
++ $(top_srcdir)/mkinstalldirs $(DESTDIR)$(datadir)/enscript/afm
+ for f in $(EXTRA_DIST); do \
+- $(INSTALL_DATA) $(srcdir)/$$f $(datadir)/enscript/afm/$$f; \
++ $(INSTALL_DATA) $(srcdir)/$$f $(DESTDIR)$(datadir)/enscript/afm/$$f; \
+ done
+
+ uninstall-local:
+- rm -rf $(datadir)/enscript/afm
++ rm -rf $(DESTDIR)$(datadir)/enscript/afm
+--- enscript-1.6.4/lib/Makefile.am~autotools
++++ enscript-1.6.4/lib/Makefile.am
+@@ -38,15 +38,15 @@
+ all-local: enscript.cfg
+
+ install-data-local: enscript.cfg
+- $(top_srcdir)/mkinstalldirs $(sysconfdir)
+- if test -r $(sysconfdir)/enscript.cfg; then \
+- cp $(sysconfdir)/enscript.cfg $(sysconfdir)/enscript.cfg.old; \
++ $(top_srcdir)/mkinstalldirs $(DESTDIR)$(sysconfdir)
++ if test -r $(DESTDIR)$(sysconfdir)/enscript.cfg; then \
++ cp $(DESTDIR)$(sysconfdir)/enscript.cfg $(DESTDIR)$(sysconfdir)/enscript.cfg.old; \
+ else :; \
+ fi
+- $(INSTALL_DATA) enscript.cfg $(sysconfdir)/enscript.cfg
++ $(INSTALL_DATA) enscript.cfg $(DESTDIR)$(sysconfdir)/enscript.cfg
+
+ uninstall-local:
+- rm -f $(sysconfdir)/enscript.cfg
++ rm -f $(DESTDIR)$(sysconfdir)/enscript.cfg
+
+ enscript.cfg: $(srcdir)/enscript.cfg.in Makefile
+ sed 's%@DATADIR@%$(datadir)%g; s%@media@%@MEDIA@%g; s%@BINDIR@%$(bindir)%g; s%@spooler@%@SPOOLER@%g; s%@pslevel@%@PSLEVEL@%g' \
+--- enscript-1.6.4/states/hl/Makefile.am~autotools
++++ enscript-1.6.4/states/hl/Makefile.am
+@@ -45,11 +45,11 @@
+ EXTRA_DIST = $(states)
+
+ install-data-local:
+- $(top_srcdir)/mkinstalldirs $(datadir)/enscript
+- $(top_srcdir)/mkinstalldirs $(datadir)/enscript/hl
++ $(top_srcdir)/mkinstalldirs $(DESTDIR)$(datadir)/enscript
++ $(top_srcdir)/mkinstalldirs $(DESTDIR)$(datadir)/enscript/hl
+ for f in $(states); do \
+- $(INSTALL_DATA) $(srcdir)/$$f $(datadir)/enscript/hl/$$f; \
++ $(INSTALL_DATA) $(srcdir)/$$f $(DESTDIR)$(datadir)/enscript/hl/$$f; \
+ done
+
+ uninstall-local:
+- rm -rf $(datadir)/enscript/hl
++ rm -rf $(DESTDIR)$(datadir)/enscript/hl
diff --git a/packages/enscript/enscript_1.6.4.bb b/packages/enscript/enscript_1.6.4.bb
index e69de29bb2..2ca833dec0 100644
--- a/packages/enscript/enscript_1.6.4.bb
+++ b/packages/enscript/enscript_1.6.4.bb
@@ -0,0 +1,11 @@
+SECTION = "console/utils"
+DESCRIPTION = "GNU enscript is a drop-in replacement for the enscript program. \
+Enscript converts ASCII files to PostScript and stores generated \
+output to a file or sends it directly to the printer."
+LICENSE = "GPL"
+MAINTAINER = "Chris Larson <kergoth@handhelds.org>"
+
+SRC_URI = "http://www.iki.fi/mtr/genscript/enscript-${PV}.tar.gz \
+ file://autotools.patch;patch=1"
+
+inherit autotools