From: Scott Garman Date: Tue, 23 Nov 2010 22:45:23 +0000 (-0800) Subject: mtools: add version 4.0.15 X-Git-Tag: rev_ivi_2015_02_04~24356 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=801054d473ea8cb809b035f9e16ed947ae696f15;p=scm%2Fbb%2Ftizen-distro.git 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 --- 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 0000000..7d1f545 --- /dev/null +++ b/meta/recipes-devtools/mtools/mtools/no-x11.gplv3.patch @@ -0,0 +1,15 @@ +# Disable building with X11 support. +# +# Signed-off-by: Scott Garman +diff -urN mtools-4.0.15.orig//Makefile.in mtools-4.0.15//Makefile.in +--- mtools-4.0.15.orig//Makefile.in 2010-10-17 08:41:09.000000000 -0700 ++++ mtools-4.0.15//Makefile.in 2010-11-23 13:59:49.258258374 -0800 +@@ -146,7 +146,7 @@ + CXXFLAGS = $(CPPFLAGS) $(DEFS) $(MYCXXFLAGS) -I. @extraincludedir@ -I@srcdir@ $(USERCFLAGS) + LINK = $(CC) $(LDFLAGS) $(USERLDFLAGS) @extralibdir@ + ALLLIBS = $(USERLDLIBS) $(MACHDEPLIBS) $(SHLIB) $(LIBS) +-X_LDFLAGS = $(X_EXTRA_LIBS) $(X_LIBS) -lXau -lX11 $(LIBS) ++X_LDFLAGS = $(X_EXTRA_LIBS) $(X_LIBS) $(LIBS) + X_CCFLAGS = $(X_CFLAGS) $(CFLAGS) + + 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 0000000..08f42cc --- /dev/null +++ b/meta/recipes-devtools/mtools/mtools_4.0.15.bb @@ -0,0 +1,21 @@ +SUMMARY = "Utilities to access MS-DOS disks without mounting them" +DESCRIPTION = "Mtools is a collection of utilities to access MS-DOS disks from GNU and Unix without mounting them." +HOMEPAGE = "http://www.gnu.org/software/mtools/" +SECTION = "optional" +LICENSE = "GPLv3" +LIC_FILES_CHKSUM = "file://COPYING;md5=d32239bcb673463ab874e80d47fae504" + +PR = "r0" + +SRC_URI = "${GNU_MIRROR}/mtools/mtools-${PV}.tar.bz2 \ + file://mtools-makeinfo.patch \ + file://no-x11.gplv3.patch" + +SRC_URI[md5sum] = "b7550b649af77812cb696a780e853f47" +SRC_URI[sha256sum] = "290defca107cc183a17c98d3f7d00db02228b724084a2a818f1dd6ea86973899" + +inherit autotools + +EXTRA_OECONF = "--without-x" + +BBCLASSEXTEND = "native"