diff options
author | Scott Garman <scott.a.garman@intel.com> | 2010-11-23 14:45:23 -0800 |
---|---|---|
committer | Saul Wold <Saul.Wold@intel.com> | 2010-11-24 13:25:21 -0800 |
commit | 70be879f0152558ebf494e5bf816b86bb342fcfa (patch) | |
tree | 52a4175c01eb63cb501e46cf0bd6d0e945a16a04 /meta/recipes-devtools/mtools | |
parent | 698cef8322e5a5f18e50ce62f6c9d1f1f846677a (diff) | |
download | poky-70be879f0152558ebf494e5bf816b86bb342fcfa.tar.gz |
mtools: add version 4.0.15
This is the latest release of mtools, which is also GPLv3. Leaving
the previous recipe as-is since it is GPLv2.
Signed-off-by: Scott Garman <scott.a.garman@intel.com>
Diffstat (limited to 'meta/recipes-devtools/mtools')
-rw-r--r-- | meta/recipes-devtools/mtools/mtools/no-x11.gplv3.patch | 15 | ||||
-rw-r--r-- | meta/recipes-devtools/mtools/mtools_4.0.15.bb | 21 |
2 files changed, 36 insertions, 0 deletions
diff --git a/meta/recipes-devtools/mtools/mtools/no-x11.gplv3.patch b/meta/recipes-devtools/mtools/mtools/no-x11.gplv3.patch new file mode 100644 index 0000000000..7d1f545910 --- /dev/null +++ b/meta/recipes-devtools/mtools/mtools/no-x11.gplv3.patch | |||
@@ -0,0 +1,15 @@ | |||
1 | # Disable building with X11 support. | ||
2 | # | ||
3 | # Signed-off-by: Scott Garman <scott.a.garman@intel.com> | ||
4 | diff -urN mtools-4.0.15.orig//Makefile.in mtools-4.0.15//Makefile.in | ||
5 | --- mtools-4.0.15.orig//Makefile.in 2010-10-17 08:41:09.000000000 -0700 | ||
6 | +++ mtools-4.0.15//Makefile.in 2010-11-23 13:59:49.258258374 -0800 | ||
7 | @@ -146,7 +146,7 @@ | ||
8 | CXXFLAGS = $(CPPFLAGS) $(DEFS) $(MYCXXFLAGS) -I. @extraincludedir@ -I@srcdir@ $(USERCFLAGS) | ||
9 | LINK = $(CC) $(LDFLAGS) $(USERLDFLAGS) @extralibdir@ | ||
10 | ALLLIBS = $(USERLDLIBS) $(MACHDEPLIBS) $(SHLIB) $(LIBS) | ||
11 | -X_LDFLAGS = $(X_EXTRA_LIBS) $(X_LIBS) -lXau -lX11 $(LIBS) | ||
12 | +X_LDFLAGS = $(X_EXTRA_LIBS) $(X_LIBS) $(LIBS) | ||
13 | X_CCFLAGS = $(X_CFLAGS) $(CFLAGS) | ||
14 | |||
15 | all: mtools $(LINKS) mkmanifest @FLOPPYD@ mtools.1 mtools.5 | ||
diff --git a/meta/recipes-devtools/mtools/mtools_4.0.15.bb b/meta/recipes-devtools/mtools/mtools_4.0.15.bb new file mode 100644 index 0000000000..08f42cc910 --- /dev/null +++ b/meta/recipes-devtools/mtools/mtools_4.0.15.bb | |||
@@ -0,0 +1,21 @@ | |||
1 | SUMMARY = "Utilities to access MS-DOS disks without mounting them" | ||
2 | DESCRIPTION = "Mtools is a collection of utilities to access MS-DOS disks from GNU and Unix without mounting them." | ||
3 | HOMEPAGE = "http://www.gnu.org/software/mtools/" | ||
4 | SECTION = "optional" | ||
5 | LICENSE = "GPLv3" | ||
6 | LIC_FILES_CHKSUM = "file://COPYING;md5=d32239bcb673463ab874e80d47fae504" | ||
7 | |||
8 | PR = "r0" | ||
9 | |||
10 | SRC_URI = "${GNU_MIRROR}/mtools/mtools-${PV}.tar.bz2 \ | ||
11 | file://mtools-makeinfo.patch \ | ||
12 | file://no-x11.gplv3.patch" | ||
13 | |||
14 | SRC_URI[md5sum] = "b7550b649af77812cb696a780e853f47" | ||
15 | SRC_URI[sha256sum] = "290defca107cc183a17c98d3f7d00db02228b724084a2a818f1dd6ea86973899" | ||
16 | |||
17 | inherit autotools | ||
18 | |||
19 | EXTRA_OECONF = "--without-x" | ||
20 | |||
21 | BBCLASSEXTEND = "native" | ||