summaryrefslogtreecommitdiff
path: root/packages
diff options
context:
space:
mode:
Diffstat (limited to 'packages')
-rw-r--r--packages/groff/.mtn2git_empty0
-rw-r--r--packages/groff/groff/.mtn2git_empty0
-rw-r--r--packages/groff/groff/groff.patch35
-rw-r--r--packages/groff/groff_1.19.1.bb22
4 files changed, 57 insertions, 0 deletions
diff --git a/packages/groff/.mtn2git_empty b/packages/groff/.mtn2git_empty
new file mode 100644
index 0000000000..e69de29bb2
--- /dev/null
+++ b/packages/groff/.mtn2git_empty
diff --git a/packages/groff/groff/.mtn2git_empty b/packages/groff/groff/.mtn2git_empty
new file mode 100644
index 0000000000..e69de29bb2
--- /dev/null
+++ b/packages/groff/groff/.mtn2git_empty
diff --git a/packages/groff/groff/groff.patch b/packages/groff/groff/groff.patch
new file mode 100644
index 0000000000..d28c21a2a3
--- /dev/null
+++ b/packages/groff/groff/groff.patch
@@ -0,0 +1,35 @@
+--- groff/contrib/mom/Makefile.sub~ 2005-01-23 10:48:26.000000000 +0100
++++ groff/contrib/mom/Makefile.sub 2005-01-23 10:52:49.000000000 +0100
+@@ -18,7 +18,7 @@
+ # Foundation, 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
+
+ # These may be overridden if cross-compiling.
+-GROFFBIN=$(top_builddir)/src/roff/groff/groff
++GROFFBIN=echo
+ GROFF_BIN_PATH=`echo $(groff_bin_dirs) | sed -e 's| *|$(SH_SEP)|g'`
+
+ groff_bin_dirs=\
+--- groff/doc/Makefile.in~ 2005-01-23 10:58:22.000000000 +0100
++++ groff/doc/Makefile.in 2005-01-23 10:59:13.000000000 +0100
+@@ -35,8 +35,8 @@
+ pnmtops=@pnmtops_nosetpage@
+
+ # These may be overridden if cross-compiling.
+-TROFFBIN=$(top_builddir)/src/roff/troff/troff
+-GROFFBIN=$(top_builddir)/src/roff/groff/groff
++TROFFBIN=echo
++GROFFBIN=echo
+ GROFF_BIN_PATH=`echo $(groff_bin_dirs) | sed -e 's| *|:|g'`
+
+ # Since info files are distributed within the groff package, no
+--- groff/doc/Makefile.sub~ 2005-01-23 10:58:30.000000000 +0100
++++ groff/doc/Makefile.sub 2005-01-23 10:59:35.000000000 +0100
+@@ -18,7 +18,7 @@
+ # Foundation, 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
+
+ # These may be overridden if cross-compiling.
+-GROFFBIN=$(top_builddir)/src/roff/groff/groff
++GROFFBIN=echo
+ GROFF_BIN_PATH=`echo $(groff_bin_dirs) | sed -e 's| *|$(SH_SEP)|g'`
+
+ # Since info files are distributed within the groff package, no
diff --git a/packages/groff/groff_1.19.1.bb b/packages/groff/groff_1.19.1.bb
new file mode 100644
index 0000000000..e54950f837
--- /dev/null
+++ b/packages/groff/groff_1.19.1.bb
@@ -0,0 +1,22 @@
+LICENSE = "GPL"
+SECTION = "base"
+DESCRIPTION = "GNU roff"
+RDEPENDS="libstdc++6"
+MAINTAINER = "Inge Arnesen <inge.arnesen@gmail.com>"
+SRC_URI = "http://ftp.gnu.org/gnu/groff/groff-${PV}.tar.gz \
+ file://groff.patch;patch=1"
+
+# prefix and exec-prefix are broken and the .in file is broken too
+# and can't be autoreconf'ed, so specify every dir
+EXTRA_OECONF="--prefix=${D} --exec-prefix=${D} --bindir=${D}/usr/bin --datadir=${D}/usr/share --mandir=${D}/usr/man --infodir=${D}/usr/share/info"
+
+inherit autotools
+
+do_configure () {
+ oe_runconf
+}
+
+#do_install() {
+# oe_runmake 'PREFIX=${D}' install
+#}
+