From d52612d6d782160dbd8cda77811fa7798f70149b Mon Sep 17 00:00:00 2001 From: Phil Blundell Date: Thu, 10 Jun 2004 22:38:35 +0000 Subject: package libapm separately. install apm.h into staging. BKrev: 40c8e2ebUPRp-OiKCrgZL0yZlQf_cQ --- apmd/apmd_3.2.2.oe | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) (limited to 'apmd/apmd_3.2.2.oe') diff --git a/apmd/apmd_3.2.2.oe b/apmd/apmd_3.2.2.oe index d2abf40f67..49fc929759 100644 --- a/apmd/apmd_3.2.2.oe +++ b/apmd/apmd_3.2.2.oe @@ -1,9 +1,15 @@ +PR = "r1" SECTION = "base" PRIORITY = "required" MAINTAINER = "Greg Gilbert " DEPENDS = "libtool-cross" DESCRIPTION = "Set of tools for managing notebook power consumption." +PACKAGES =+ "libapm libapm-dev " + +FILES_libapm = "${libdir}/libapm.so.*" +FILES_libapm-dev = "${libdir}/libapm.* ${includedir}" + SRC_URI = "${DEBIAN_MIRROR}/main/a/apmd/apmd_${PV}.orig.tar.gz; \ file://debian.patch;patch=1 \ file://workaround.patch;patch=1 \ @@ -25,11 +31,11 @@ do_compile() { } do_stage() { + install -m 0644 apm.h ${STAGING_INCDIR} oe_libinstall -so libapm ${STAGING_LIBDIR} } do_install() { - install -d ${D}/${sysconfdir} install -d ${D}/${sysconfdir}/apm install -d ${D}/${sysconfdir}/apm/event.d @@ -50,6 +56,7 @@ do_install() { install -m 0644 ${WORKDIR}/apmd_proxy.conf ${D}/${datadir}/apmd/ install -m 0644 ${WORKDIR}/default ${D}/${sysconfdir}/default/apmd oe_libinstall -so libapm ${D}/${libdir} + install -m 0644 apm.h ${D}/${includedir} cat ${WORKDIR}/init | sed -e 's,/usr/sbin,${sbindir},g; s,/etc,${sysconfdir},g;' > ${D}/${sysconfdir}/init.d/apmd chmod 755 ${D}/${sysconfdir}/init.d/apmd -- cgit v1.2.3