summaryrefslogtreecommitdiffstats
path: root/meta/packages
diff options
context:
space:
mode:
authorChris Larson <kergoth@openedhand.com>2006-09-05 07:24:58 +0000
committerChris Larson <kergoth@openedhand.com>2006-09-05 07:24:58 +0000
commit8f47d85143c108040aa921b32aa9974b8edb0ba1 (patch)
tree6e72f083172c00f7a04b6180052bba07f55e3788 /meta/packages
parentf8b1e634eb3cfc6e59e9fe11b8a198aec6bd3d29 (diff)
downloadpoky-8f47d85143c108040aa921b32aa9974b8edb0ba1.tar.gz
Add dpkg, modified from upstream oe.
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@696 311d38ba-8fff-0310-9ca6-ca027cbcb966
Diffstat (limited to 'meta/packages')
-rw-r--r--meta/packages/dpkg/dpkg-native_1.13.22.bb12
-rw-r--r--meta/packages/dpkg/dpkg.inc10
-rw-r--r--meta/packages/dpkg/dpkg_1.13.22.bb11
-rw-r--r--meta/packages/dpkg/files/autofoo.patch48
-rw-r--r--meta/packages/dpkg/files/noman.patch16
5 files changed, 97 insertions, 0 deletions
diff --git a/meta/packages/dpkg/dpkg-native_1.13.22.bb b/meta/packages/dpkg/dpkg-native_1.13.22.bb
new file mode 100644
index 0000000000..2f196c2ea6
--- /dev/null
+++ b/meta/packages/dpkg/dpkg-native_1.13.22.bb
@@ -0,0 +1,12 @@
1require dpkg.inc
2SRC_URI += "file://noman.patch;patch=1"
3
4inherit native
5inherit autotools gettext
6
7EXTRA_OECONF = "--without-static-progs \
8 --without-dselect \
9 --with-start-stop-daemon \
10 --with-zlib \
11 --with-bz2lib \
12 --without-sgml-doc"
diff --git a/meta/packages/dpkg/dpkg.inc b/meta/packages/dpkg/dpkg.inc
new file mode 100644
index 0000000000..3c3f29c304
--- /dev/null
+++ b/meta/packages/dpkg/dpkg.inc
@@ -0,0 +1,10 @@
1DESCRIPTION = "Package maintenance system for Debian."
2LICENSE = "GPL"
3SECTION = "base"
4DEPENDS = "ncurses zlib"
5MAINTAINER = "Chris Larson <kergoth@handhelds.org>"
6
7SRC_URI = "${DEBIAN_MIRROR}/main/d/dpkg/dpkg_${PV}.tar.gz"
8S = "${WORKDIR}/dpkg-${PV}"
9
10PARALLEL_MAKE = ""
diff --git a/meta/packages/dpkg/dpkg_1.13.22.bb b/meta/packages/dpkg/dpkg_1.13.22.bb
new file mode 100644
index 0000000000..08a9c06fbf
--- /dev/null
+++ b/meta/packages/dpkg/dpkg_1.13.22.bb
@@ -0,0 +1,11 @@
1require dpkg.inc
2DEPENDS += "bzip2"
3
4inherit autotools gettext
5
6EXTRA_OECONF = "--without-static-progs \
7 --without-dselect \
8 --with-start-stop-daemon \
9 --with-zlib \
10 --with-bz2lib \
11 --without-sgml-doc"
diff --git a/meta/packages/dpkg/files/autofoo.patch b/meta/packages/dpkg/files/autofoo.patch
new file mode 100644
index 0000000000..691121e418
--- /dev/null
+++ b/meta/packages/dpkg/files/autofoo.patch
@@ -0,0 +1,48 @@
1
2#
3# Patch managed by http://www.holgerschurig.de/patcher.html
4#
5
6--- dpkg-1.10.23/configure.in~autofoo
7+++ dpkg-1.10.23/configure.in
8@@ -227,21 +227,36 @@
9 # OpenBSD passes AC_TRY_COMPILE for va_copy even though
10 # it doesn't seem to exist, which is odd. We need to use
11 # AC_TRY_RUN.
12+#
13+# If crosscompiling, use AC_TRY_COMPILE. -CL
14 AC_TRY_RUN([
15 #include <stdarg.h>
16 main(){
17 va_list v1,v2;
18 va_copy(v1, v2);
19 exit(0);}
20-], [AC_MSG_RESULT(yes)
21-AC_DEFINE(HAVE_VA_COPY,,[Whether the va_copy macro exists])],[AC_MSG_RESULT(no)
22-AC_MSG_CHECKING([for va_list assignment copy])
23+], [dpkg_cv_va_copy=yes], [dpkg_cv_va_copy=no],
24 AC_TRY_COMPILE([
25 #include <stdarg.h>
26+main(){
27+va_list v1,v2;
28+va_copy(v1, v2);
29+exit(0);}
30+], [dpkg_cv_va_copy=yes], [dpkg_vc_va_copy=no]))
31+
32+if test "$dpkg_cv_va_copy" = "yes"; then
33+ AC_MSG_RESULT(yes)
34+ AC_DEFINE(HAVE_VA_COPY,,[Whether the va_copy macro exists])
35+else
36+ AC_MSG_RESULT(no)
37+ AC_MSG_CHECKING([for va_list assignment copy])
38+ AC_TRY_COMPILE([
39+#include <stdarg.h>
40 ],[
41 va_list v1,v2;
42 v1 = v2;
43-], AC_MSG_RESULT(yes),AC_MSG_ERROR(no))])
44+], AC_MSG_RESULT(yes), AC_MSG_ERROR(no))
45+fi
46
47 DPKG_C_GCC_ATTRIBUTE([,,],supported,[int x],[,,],ATTRIB,[Define if function attributes a la GCC 2.5 and higher are available.],
48 DPKG_C_GCC_ATTRIBUTE(noreturn,noreturn,[int x],noreturn,NORETURN,[Define if nonreturning functions a la GCC 2.5 and higher are available.])
diff --git a/meta/packages/dpkg/files/noman.patch b/meta/packages/dpkg/files/noman.patch
new file mode 100644
index 0000000000..f5984fe14a
--- /dev/null
+++ b/meta/packages/dpkg/files/noman.patch
@@ -0,0 +1,16 @@
1---
2 Makefile.am | 3 +--
3 1 file changed, 1 insertion(+), 2 deletions(-)
4
5--- dpkg-1.13.22.orig/Makefile.am
6+++ dpkg-1.13.22/Makefile.am
7@@ -15,8 +15,7 @@ SUBDIRS = \
8 utils \
9 scripts \
10 po \
11- origins \
12- man
13+ origins
14
15 ACLOCAL_AMFLAGS = -I m4
16