diff options
author | Denys Dmytriyenko <denis@denix.org> | 2009-03-17 14:32:59 -0400 |
---|---|---|
committer | Denys Dmytriyenko <denis@denix.org> | 2009-03-17 14:32:59 -0400 |
commit | 709c4d66e0b107ca606941b988bad717c0b45d9b (patch) | |
tree | 37ee08b1eb308f3b2b6426d5793545c38396b838 /recipes/zile | |
parent | fa6cd5a3b993f16c27de4ff82b42684516d433ba (diff) |
rename packages/ to recipes/ per earlier agreement
See links below for more details:
http://thread.gmane.org/gmane.comp.handhelds.openembedded/21326
http://thread.gmane.org/gmane.comp.handhelds.openembedded/21816
Signed-off-by: Denys Dmytriyenko <denis@denix.org>
Acked-by: Mike Westerhof <mwester@dls.net>
Acked-by: Philip Balister <philip@balister.org>
Acked-by: Khem Raj <raj.khem@gmail.com>
Acked-by: Marcin Juszkiewicz <hrw@openembedded.org>
Acked-by: Koen Kooi <koen@openembedded.org>
Acked-by: Frans Meulenbroeks <fransmeulenbroeks@gmail.com>
Diffstat (limited to 'recipes/zile')
-rw-r--r-- | recipes/zile/files/for_build.patch | 64 | ||||
-rw-r--r-- | recipes/zile/zile_1.7+2.0beta6.bb | 19 | ||||
-rw-r--r-- | recipes/zile/zile_2.2.15.bb | 10 |
3 files changed, 93 insertions, 0 deletions
diff --git a/recipes/zile/files/for_build.patch b/recipes/zile/files/for_build.patch new file mode 100644 index 0000000000..96380fa220 --- /dev/null +++ b/recipes/zile/files/for_build.patch @@ -0,0 +1,64 @@ +Index: zile-2.0beta6/acinclude.m4 +=================================================================== +--- zile-2.0beta6.orig/acinclude.m4 2004-12-20 19:13:07.000000000 -0500 ++++ zile-2.0beta6/acinclude.m4 2005-01-21 20:38:28.982166344 -0500 +@@ -35,3 +35,29 @@ + t} + fi + AC_SUBST(EXEEXT_FOR_BUILD)])dnl ++ ++dnl Get a default for CFLAGS_FOR_BUILD to put into Makefile. ++AC_DEFUN([BFD_CFLAGS_FOR_BUILD], ++[ac_test_CFLAGS=${CFLAGS+set} ++# Put a plausible default for CFLAGS_FOR_BUILD in Makefile. ++if test -z "$CFLAGS_FOR_BUILD"; then ++ if test "x$cross_compiling" = "xyes"; then ++ CFLAGS_FOR_BUILD="-O2" ++ else ++ CFLAGS_FOR_BUILD='$(CFLAGS)' ++ fi ++fi ++AC_SUBST(CFLAGS_FOR_BUILD)])dnl ++ ++dnl Get a default for LDFLAGS_FOR_BUILD to put into Makefile. ++AC_DEFUN([BFD_LDFLAGS_FOR_BUILD], ++[ac_test_LDFLAGS=${LDFLAGS+set} ++# Put a plausible default for LDFLAGS_FOR_BUILD in Makefile. ++if test -z "$LDFLAGS_FOR_BUILD"; then ++ if test "x$cross_compiling" = "xyes"; then ++ LDFLAGS_FOR_BUILD="" ++ else ++ LDFLAGS_FOR_BUILD='$(LDFLAGS)' ++ fi ++fi ++AC_SUBST(LDFLAGS_FOR_BUILD)])dnl +Index: zile-2.0beta6/configure.ac +=================================================================== +--- zile-2.0beta6.orig/configure.ac 2005-01-12 07:56:19.000000000 -0500 ++++ zile-2.0beta6/configure.ac 2005-01-21 20:26:58.178184512 -0500 +@@ -19,6 +19,8 @@ + + AC_PROG_CC + BFD_CC_FOR_BUILD ++BFD_CFLAGS_FOR_BUILD ++BFD_LDFLAGS_FOR_BUILD + AC_C_INLINE + AC_PROG_INSTALL + AC_PROG_RANLIB +Index: zile-2.0beta6/doc/Makefile.am +=================================================================== +--- zile-2.0beta6.orig/doc/Makefile.am 2005-01-03 06:11:32.000000000 -0500 ++++ zile-2.0beta6/doc/Makefile.am 2005-01-21 20:27:17.271281920 -0500 +@@ -27,10 +27,10 @@ + AM_CFLAGS = -I$(top_srcdir) -I$(top_srcdir)/lib -I$(top_srcdir)/src + + mkdoc$(EXEEXT_FOR_BUILD): mkdoc.o config.h +- $(CC_FOR_BUILD) $(CFLAGS) $(LDFLAGS) -o $@ mkdoc.o ++ $(CC_FOR_BUILD) $(CFLAGS_FOR_BUILD) $(LDFLAGS_FOR_BUILD) -o $@ mkdoc.o + + mkdoc.o: mkdoc.c +- $(CC_FOR_BUILD) -c -I$(top_srcdir)/doc -I$(top_srcdir) -I$(top_srcdir)/src $(CFLAGS) $(srcdir)/mkdoc.c ++ $(CC_FOR_BUILD) -c -I$(top_srcdir)/doc -I$(top_srcdir) -I$(top_srcdir)/src $(CFLAGS_FOR_BUILD) $(srcdir)/mkdoc.c + + AUTODOC: $(AUTODOCSRCS) mkdoc + ./mkdoc $(AUTODOCSRCS) >AUTODOC diff --git a/recipes/zile/zile_1.7+2.0beta6.bb b/recipes/zile/zile_1.7+2.0beta6.bb new file mode 100644 index 0000000000..74d832eef3 --- /dev/null +++ b/recipes/zile/zile_1.7+2.0beta6.bb @@ -0,0 +1,19 @@ +DESCRIPTION = "Zile is a very small emacs-like editor." +HOMEPAGE = "http://zile.sourceforge.net/" +LICENSE = "GPL" +DEPENDS = "ncurses" +PRIORITY = "optional" +SECTION = "console/editors" +PR = "r1" + +UV = "${@bb.data.getVar('PV', d, 1).split('+')[1]}" + +SRC_URI = "${SOURCEFORGE_MIRROR}/zile/zile-${UV}.tar.gz \ + file://for_build.patch;patch=1" +S = "${WORKDIR}/zile-${UV}" + +inherit autotools + +export CC_FOR_BUILD = "${BUILD_CC}" +export CFLAGS_FOR_BUILD = "${BUILD_CFLAGS} -DHAVE_VASPRINTF" +export LDFLAGS_FOR_BUILD = "${BUILD_LDFLAGS}" diff --git a/recipes/zile/zile_2.2.15.bb b/recipes/zile/zile_2.2.15.bb new file mode 100644 index 0000000000..72284629a7 --- /dev/null +++ b/recipes/zile/zile_2.2.15.bb @@ -0,0 +1,10 @@ +DESCRIPTION = "Zile is lossy Emacs." +HOMEPAGE = "http://zile.sourceforge.net/" +LICENSE = "GPL" +DEPENDS = "ncurses" +SECTION = "console/editors" +PR = "r0" + +SRC_URI = "${SOURCEFORGE_MIRROR}/zile/zile-${PV}.tar.gz" + +inherit autotools |