summaryrefslogtreecommitdiffstats
path: root/meta-extras/packages
diff options
context:
space:
mode:
Diffstat (limited to 'meta-extras/packages')
-rw-r--r--meta-extras/packages/mtools/files/mtools-makeinfo.patch63
-rw-r--r--meta-extras/packages/mtools/mtools-native_3.9.9.bb8
-rw-r--r--meta-extras/packages/mtools/mtools_3.9.9.bb14
3 files changed, 85 insertions, 0 deletions
diff --git a/meta-extras/packages/mtools/files/mtools-makeinfo.patch b/meta-extras/packages/mtools/files/mtools-makeinfo.patch
new file mode 100644
index 0000000000..35fae44aba
--- /dev/null
+++ b/meta-extras/packages/mtools/files/mtools-makeinfo.patch
@@ -0,0 +1,63 @@
1--- mtools-3.9.9/configure.in.orig 2006-04-14 16:05:54.337655192 -0600
2+++ mtools-3.9.9/configure.in 2006-04-14 16:12:29.736545424 -0600
3@@ -21,6 +21,33 @@
4 AC_C_CONST
5 AC_C_INLINE
6
7+AC_CHECK_PROG(MAKEINFO, makeinfo, makeinfo, )
8+if test "x$MAKEINFO" = "x"; then
9+ MAKEINFO="@echo makeinfo missing; true"
10+fi
11+AC_CHECK_PROG(TEXI2DVI, texi2dvi, texi2dvi, )
12+if test "x$TEXI2DVI" = "x"; then
13+ TEXI2DVI="@echo texi2dvi missing; true"
14+fi
15+AC_CHECK_PROG(TEXI2PDF, texi2pdf, texi2pdf, )
16+if test "x$TEXI2PDF" = "x"; then
17+ TEXI2PDF="@echo texi2pdf missing; true"
18+fi
19+AC_CHECK_PROG(TEXI2HTML, texi2html, texi2html, )
20+if test "x$TEXI2HTML" = "x"; then
21+ TEXI2HTML="@echo texi2html missing; true"
22+fi
23+AC_CHECK_PROG(DVI2PS, dvi2ps, dvi2ps, )
24+if test "x$DVI2PS" = "x"; then
25+ DVI2PS="@echo dvi2ps missing; true"
26+fi
27+
28+AC_SUBST(MAKEINFO)
29+AC_SUBST(TEXI2DVI)
30+AC_SUBST(TEXI2PDF)
31+AC_SUBST(TEXI2HTML)
32+AC_SUBST(DVI2PS)
33+
34
35 dnl Check for configuration options
36 dnl Enable OS/2 extended density format disks
37--- mtools-3.9.9/Makefile.in.sav 2006-04-14 15:56:19.000000000 -0600
38+++ mtools-3.9.9/Makefile.in 2006-04-14 16:15:29.315245312 -0600
39@@ -11,10 +11,11 @@
40 USERLDFLAGS =
41 USERLDLIBS =
42
43-MAKEINFO = makeinfo
44-TEXI2DVI = texi2dvi
45-TEXI2PDF = texi2pdf
46-TEXI2HTML = texi2html
47+MAKEINFO = @MAKEINFO@
48+TEXI2DVI = @TEXI2DVI@
49+TEXI2PDF = @TEXI2PDF@
50+TEXI2HTML = @TEXI2HTML@
51+DVI2PS = @DVI2PS@
52
53
54 # do not edit below this line
55@@ -181,7 +182,7 @@
56
57 ps: mtools.ps
58 %.ps: %.dvi
59- dvips -f < $< > $@
60+ $(DVI2PS) -f < $< > $@
61
62 pdf: mtools.pdf
63 %.pdf: %.texi
diff --git a/meta-extras/packages/mtools/mtools-native_3.9.9.bb b/meta-extras/packages/mtools/mtools-native_3.9.9.bb
new file mode 100644
index 0000000000..16a0c37f7c
--- /dev/null
+++ b/meta-extras/packages/mtools/mtools-native_3.9.9.bb
@@ -0,0 +1,8 @@
1# mtools-native OE build file
2# Copyright (C) 2004-2006, Advanced Micro Devices, Inc. All Rights Reserved
3# Released under the MIT license (see packages/COPYING)
4
5require mtools_${PV}.bb
6S="${WORKDIR}/mtools-${PV}"
7
8inherit autotools native
diff --git a/meta-extras/packages/mtools/mtools_3.9.9.bb b/meta-extras/packages/mtools/mtools_3.9.9.bb
new file mode 100644
index 0000000000..90b1cf5830
--- /dev/null
+++ b/meta-extras/packages/mtools/mtools_3.9.9.bb
@@ -0,0 +1,14 @@
1# mtools OE build file
2# Copyright (C) 2004-2006, Advanced Micro Devices, Inc. All Rights Reserved
3# Released under the MIT license (see packages/COPYING)
4
5DESCRIPTION="Mtools is a collection of utilities for accessing MS-DOS disks from Unix without mounting them."
6HOMEPAGE="http://mtools.linux.lu"
7LICENSE="GPL"
8
9SRC_URI="http://mtools.linux.lu/mtools-${PV}.tar.gz \
10 file://mtools-makeinfo.patch;patch=1"
11
12#DEPENDS = "tetex-native"
13
14inherit autotools