Patchwork [02/20] apmd: refactor packages for staticdev

login
register
mail settings
Submitter Saul Wold
Date Jan. 21, 2012, 5:18 a.m.
Message ID <54449edff8e191abfbbae8b8fc52e9d5be70b8ea.1327123057.git.sgw@linux.intel.com>
Download mbox | patch
Permalink /patch/19887/
State Accepted
Commit 0f32aea7b133743020f5f91ff7d2d595ad1c5f86
Headers show

Comments

Saul Wold - Jan. 21, 2012, 5:18 a.m.
Signed-off-by: Saul Wold <sgw@linux.intel.com>
---
 meta/recipes-bsp/apmd/apmd_3.2.2-14.bb |    9 +++++----
 1 files changed, 5 insertions(+), 4 deletions(-)

Patch

diff --git a/meta/recipes-bsp/apmd/apmd_3.2.2-14.bb b/meta/recipes-bsp/apmd/apmd_3.2.2-14.bb
index bf53cc6..9847c49 100644
--- a/meta/recipes-bsp/apmd/apmd_3.2.2-14.bb
+++ b/meta/recipes-bsp/apmd/apmd_3.2.2-14.bb
@@ -8,7 +8,7 @@  LICENSE = "GPLv2+"
 LIC_FILES_CHKSUM = "file://COPYING;md5=94d55d512a9ba36caa9b7df079bae19f \
                     file://apm.h;firstline=6;endline=18;md5=c9a1f79036ab14aa157e15ed75ffd769"
 DEPENDS = "libtool-cross"
-PR = "r1"
+PR = "r2"
 
 SRC_URI = "${DEBIAN_MIRROR}/main/a/apmd/apmd_3.2.2.orig.tar.gz;name=tarball \
            ${DEBIAN_MIRROR}/main/a/apmd/apmd_${PV}.diff.gz;name=patch \
@@ -65,8 +65,9 @@  do_install() {
 	chmod 755 ${D}${sysconfdir}/init.d/apmd
 }
 
-PACKAGES =+ "libapm libapm-dev apm"
+PACKAGES =+ "libapm libapm-dev libapm-staticdev apm"
 
-FILES_libapm = "${libdir}/libapm.so.*"
-FILES_libapm-dev = "${libdir}/libapm.* ${includedir}"
+FILES_libapm = "${libdir}/libapm${SOLIBS}"
+FILES_libapm-dev = "${libdir}/libapm${SOLIBSDEV} ${includedir} ${libdir}/libapm.la"
+FILES_libapm-staticdev = "${libdir}/libapm.a"
 FILES_apm = "${bindir}/apm*"