summaryrefslogtreecommitdiffstats
path: root/meta/packages/apmd
diff options
context:
space:
mode:
Diffstat (limited to 'meta/packages/apmd')
-rw-r--r--meta/packages/apmd/apmd-3.2.2/unlinux.patch12
-rw-r--r--meta/packages/apmd/apmd_3.2.2.bb4
2 files changed, 15 insertions, 1 deletions
diff --git a/meta/packages/apmd/apmd-3.2.2/unlinux.patch b/meta/packages/apmd/apmd-3.2.2/unlinux.patch
new file mode 100644
index 0000000000..f7eec6eb03
--- /dev/null
+++ b/meta/packages/apmd/apmd-3.2.2/unlinux.patch
@@ -0,0 +1,12 @@
1--- apmd-3.2.2.orig/Makefile
2+++ apmd-3.2.2/Makefile
3@@ -43,8 +43,7 @@
4
5 CC=gcc
6 CFLAGS=-O -g
7-XTRACFLAGS=-Wall -pipe -I. -I/usr/src/linux/include \
8- -I/usr/src/linux-2.2/include -I /usr/src/linux-2.0/include \
9+XTRACFLAGS=-Wall -pipe -I. \
10 -DVERSION=\"$(VERSION)\" \
11 -DDEFAULT_PROXY_NAME=\"$(PROXY_DIR)/apmd_proxy\"
12 LDFLAGS=
diff --git a/meta/packages/apmd/apmd_3.2.2.bb b/meta/packages/apmd/apmd_3.2.2.bb
index 94541581d3..f7efb065e1 100644
--- a/meta/packages/apmd/apmd_3.2.2.bb
+++ b/meta/packages/apmd/apmd_3.2.2.bb
@@ -3,12 +3,13 @@ SECTION = "base"
3PRIORITY = "required" 3PRIORITY = "required"
4DEPENDS = "libtool-cross" 4DEPENDS = "libtool-cross"
5LICENSE = "GPL" 5LICENSE = "GPL"
6PR = "r7" 6PR = "r8"
7 7
8SRC_URI = "${DEBIAN_MIRROR}/main/a/apmd/apmd_${PV}.orig.tar.gz; \ 8SRC_URI = "${DEBIAN_MIRROR}/main/a/apmd/apmd_${PV}.orig.tar.gz; \
9 file://debian.patch;patch=1 \ 9 file://debian.patch;patch=1 \
10 file://workaround.patch;patch=1 \ 10 file://workaround.patch;patch=1 \
11 file://zaurus24.patch;patch=1 \ 11 file://zaurus24.patch;patch=1 \
12 file://unlinux.patch;patch=1 \
12 file://init \ 13 file://init \
13 file://default \ 14 file://default \
14 file://apmd_proxy \ 15 file://apmd_proxy \
@@ -44,6 +45,7 @@ do_install() {
44 install -d ${D}${bindir} 45 install -d ${D}${bindir}
45 install -d ${D}${libdir} 46 install -d ${D}${libdir}
46 install -d ${D}${datadir}/apmd 47 install -d ${D}${datadir}/apmd
48 install -d ${D}${includedir}
47 49
48 install -m 4755 ${S}/.libs/apm ${D}${bindir}/apm 50 install -m 4755 ${S}/.libs/apm ${D}${bindir}/apm
49 install -m 0755 ${S}/.libs/apmd ${D}${sbindir}/apmd 51 install -m 0755 ${S}/.libs/apmd ${D}${sbindir}/apmd