summaryrefslogtreecommitdiffstats
path: root/meta/recipes-extended/ed
diff options
context:
space:
mode:
authorRichard Purdie <rpurdie@linux.intel.com>2010-08-27 15:14:24 +0100
committerRichard Purdie <rpurdie@linux.intel.com>2010-08-27 15:29:45 +0100
commit29d6678fd546377459ef75cf54abeef5b969b5cf (patch)
tree8edd65790e37a00d01c3f203f773fe4b5012db18 /meta/recipes-extended/ed
parentda49de6885ee1bc424e70bc02f21f6ab920efb55 (diff)
downloadpoky-29d6678fd546377459ef75cf54abeef5b969b5cf.tar.gz
Major layout change to the packages directory
Having one monolithic packages directory makes it hard to find things and is generally overwhelming. This commit splits it into several logical sections roughly based on function, recipes.txt gives more information about the classifications used. The opportunity is also used to switch from "packages" to "recipes" as used in OpenEmbedded as the term "packages" can be confusing to people and has many different meanings. Not all recipes have been classified yet, this is just a first pass at separating things out. Some packages are moved to meta-extras as they're no longer actively used or maintained. Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
Diffstat (limited to 'meta/recipes-extended/ed')
-rw-r--r--meta/recipes-extended/ed/ed-1.4/ed-1.2-build.patch43
-rw-r--r--meta/recipes-extended/ed/ed_0.5.bb11
-rw-r--r--meta/recipes-extended/ed/ed_1.4.bb22
3 files changed, 76 insertions, 0 deletions
diff --git a/meta/recipes-extended/ed/ed-1.4/ed-1.2-build.patch b/meta/recipes-extended/ed/ed-1.4/ed-1.2-build.patch
new file mode 100644
index 0000000000..a65c433d57
--- /dev/null
+++ b/meta/recipes-extended/ed/ed-1.4/ed-1.2-build.patch
@@ -0,0 +1,43 @@
1http://lists.gnu.org/archive/html/bug-ed/2008-12/msg00001.html
2
32007-04-16 Mike Frysinger <vapier@gentoo.org>
4
5 * Do not set CC/CXX/CPPFLAGS/LDFLAGS to "" so that user can
6 override if they so choose.
7 * Only set CFLAGS/CXXFLAGS if user did not specify any.
8
9ed had already taken GPLv3 when this patch out, so it should be GPLv3.
10Signed-off-by: Zhai Edwin <edwin.zhai@intel.com>
11
12Index: ed-1.4/configure
13===================================================================
14--- ed-1.4.orig/configure 2009-07-10 19:54:33.000000000 +0800
15+++ ed-1.4/configure 2010-08-05 17:41:51.000000000 +0800
16@@ -26,12 +26,6 @@
17 mandir='$(datadir)/man'
18 sysconfdir='$(prefix)/etc'
19 program_prefix=
20-CC=
21-CXX=
22-CPPFLAGS=
23-CFLAGS='-Wall -W -O2'
24-CXXFLAGS='-Wall -W -O2'
25-LDFLAGS=
26
27 # Loop over all args
28 while [ x"$1" != x ] ; do
29@@ -111,6 +105,14 @@
30 esac
31 done
32
33+# Defaults if the user did not select any
34+if [ x"${CFLAGS+set}" != xset ] ; then
35+ CFLAGS='-Wall -W -O2'
36+fi
37+if [ x"${CXXFLAGS+set}" != xset ] ; then
38+ CXXFLAGS='-Wall -W -O2'
39+fi
40+
41 # Find the source files, if location was not specified.
42 srcdirtext=
43 if [ x"${srcdir}" = x ] ; then
diff --git a/meta/recipes-extended/ed/ed_0.5.bb b/meta/recipes-extended/ed/ed_0.5.bb
new file mode 100644
index 0000000000..e14bf0e5a4
--- /dev/null
+++ b/meta/recipes-extended/ed/ed_0.5.bb
@@ -0,0 +1,11 @@
1DESCRIPTION = "GNU ed is a line-oriented text editor"
2HOMEPAGE = "http://www.gnu.org/software/ed/"
3SECTION = "base"
4LICENSE = "GPLv2+"
5LIC_FILES_CHKSUM = "file://COPYING;md5=6ddd5335ef96fb858a138230af773710 \
6 file://main.c;beginline=1;endline=17;md5=36d4b85e5ae9028e918d1cc775c2475e"
7
8PR = "r0"
9SRC_URI = "http://download.savannah.gnu.org/releases-noredirect/ed/ed-${PV}.tar.bz2"
10
11inherit autotools
diff --git a/meta/recipes-extended/ed/ed_1.4.bb b/meta/recipes-extended/ed/ed_1.4.bb
new file mode 100644
index 0000000000..0243769e90
--- /dev/null
+++ b/meta/recipes-extended/ed/ed_1.4.bb
@@ -0,0 +1,22 @@
1DESCRIPTION = "a line-oriented text editor"
2HOMEPAGE = "http://www.gnu.org/software/ed/"
3BUGTRACKER = ""
4
5LICENSE = "GPLv3+"
6LIC_FILES_CHKSUM = "file://COPYING;md5=f27defe1e96c2e1ecd4e0c9be8967949 \
7 file://ed.h;endline=20;md5=294d5da73d15cd444ca2260fa2538296 \
8 file://main.c;endline=24;md5=122be7f2751ae819c803441972c7f45b"
9
10SECTION = "base"
11PR = "r0"
12
13SRC_URI = "${GNU_MIRROR}/ed/ed-${PV}.tar.gz \
14 file://ed-1.2-build.patch"
15
16do_configure() {
17 ${S}/configure
18}
19
20do_install() {
21 oe_runmake 'DESTDIR=${D}' install
22}