diff options
Diffstat (limited to 'openembedded/packages/apmd/apmd_3.2.2.bb')
-rw-r--r-- | openembedded/packages/apmd/apmd_3.2.2.bb | 25 |
1 files changed, 3 insertions, 22 deletions
diff --git a/openembedded/packages/apmd/apmd_3.2.2.bb b/openembedded/packages/apmd/apmd_3.2.2.bb index 0e8b364458..4a23f39590 100644 --- a/openembedded/packages/apmd/apmd_3.2.2.bb +++ b/openembedded/packages/apmd/apmd_3.2.2.bb | |||
@@ -3,12 +3,12 @@ SECTION = "base" | |||
3 | PRIORITY = "required" | 3 | PRIORITY = "required" |
4 | DEPENDS = "libtool-cross" | 4 | DEPENDS = "libtool-cross" |
5 | LICENSE = "GPL" | 5 | LICENSE = "GPL" |
6 | PR = "r5" | 6 | PR = "r7" |
7 | 7 | ||
8 | SRC_URI = "${DEBIAN_MIRROR}/main/a/apmd/apmd_${PV}.orig.tar.gz; \ | 8 | SRC_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://apmwrapper \ | 11 | file://zaurus24.patch;patch=1 \ |
12 | file://init \ | 12 | file://init \ |
13 | file://default \ | 13 | file://default \ |
14 | file://apmd_proxy \ | 14 | file://apmd_proxy \ |
@@ -44,25 +44,8 @@ do_install() { | |||
44 | install -d ${D}${bindir} | 44 | install -d ${D}${bindir} |
45 | install -d ${D}${libdir} | 45 | install -d ${D}${libdir} |
46 | install -d ${D}${datadir}/apmd | 46 | install -d ${D}${datadir}/apmd |
47 | # | ||
48 | # only Zaurus 2.4-embedix kernels need a breadead apm hack | ||
49 | # | ||
50 | # | ||
51 | case ${MACHINE} in | ||
52 | collie | poodle | tosa | c7x0 | akita | spitz | borzoi) | ||
53 | if [ "${KERNEL_VERSION}" == "2.6" ] | ||
54 | then | ||
55 | install -m 4577 ${S}/.libs/apm ${D}${bindir}/apm | ||
56 | else | ||
57 | install -m 4755 ${S}/.libs/apm ${D}${bindir}/apm.orig | ||
58 | install -m 0755 ${WORKDIR}/apmwrapper ${D}${bindir}/apm | ||
59 | fi | ||
60 | ;; | ||
61 | *) | ||
62 | install -m 4577 ${S}/.libs/apm ${D}${bindir}/apm | ||
63 | ;; | ||
64 | esac | ||
65 | 47 | ||
48 | install -m 4755 ${S}/.libs/apm ${D}${bindir}/apm | ||
66 | install -m 0755 ${S}/.libs/apmd ${D}${sbindir}/apmd | 49 | install -m 0755 ${S}/.libs/apmd ${D}${sbindir}/apmd |
67 | install -m 0755 ${WORKDIR}/apmd_proxy ${D}${sysconfdir}/apm/ | 50 | install -m 0755 ${WORKDIR}/apmd_proxy ${D}${sysconfdir}/apm/ |
68 | install -m 0644 ${WORKDIR}/apmd_proxy.conf ${D}${datadir}/apmd/ | 51 | install -m 0644 ${WORKDIR}/apmd_proxy.conf ${D}${datadir}/apmd/ |
@@ -79,5 +62,3 @@ PACKAGES =+ "libapm libapm-dev apm" | |||
79 | FILES_libapm = "${libdir}/libapm.so.*" | 62 | FILES_libapm = "${libdir}/libapm.so.*" |
80 | FILES_libapm-dev = "${libdir}/libapm.* ${includedir}" | 63 | FILES_libapm-dev = "${libdir}/libapm.* ${includedir}" |
81 | FILES_apm = "${bindir}/apm*" | 64 | FILES_apm = "${bindir}/apm*" |
82 | |||
83 | |||