From f3f16517f7ddecb3207f8df99eac5c6bd26c7734 Mon Sep 17 00:00:00 2001 From: Marcin Juszkiewicz Date: Thu, 1 Sep 2005 15:47:21 +0000 Subject: simplify libopieobex recipes - moved common part to libopieobex.inc --- packages/libopieobex/libopieobex0.inc | 20 ++++++++++++++++++++ packages/libopieobex/libopieobex0_1.2.0.bb | 21 ++------------------- packages/libopieobex/libopieobex0_cvs.bb | 22 +++------------------- 3 files changed, 25 insertions(+), 38 deletions(-) create mode 100644 packages/libopieobex/libopieobex0.inc diff --git a/packages/libopieobex/libopieobex0.inc b/packages/libopieobex/libopieobex0.inc new file mode 100644 index 0000000000..40475cf8c3 --- /dev/null +++ b/packages/libopieobex/libopieobex0.inc @@ -0,0 +1,20 @@ +DESCRIPTION = "IrDA obex support library" +SECTION = "opie/libs" +PRIORITY = "optional" +MAINTAINER = "Team Opie " +LICENSE = "LGPL" +DEPENDS = "opie-taskbar" +RDEPENDS = "openobex-apps" +APPNAME = "obex" + +S = "${WORKDIR}/obex" + +inherit opie + +do_install() { + install -d ${D}${palmtopdir}/pics/${APPNAME}/ ${D}${palmtopdir}/plugins/obex/ + install -m 0644 ${WORKDIR}/pics/${APPNAME}/*.png ${D}${palmtopdir}/pics/${APPNAME}/ + oe_libinstall -so libopieobex ${D}${palmtopdir}/plugins/obex/ +} + +FILES_${PN} = "${palmtopdir}/plugins/obex/ ${palmtopdir}/pics/obex/" diff --git a/packages/libopieobex/libopieobex0_1.2.0.bb b/packages/libopieobex/libopieobex0_1.2.0.bb index 59f4004c05..a90177b6d5 100644 --- a/packages/libopieobex/libopieobex0_1.2.0.bb +++ b/packages/libopieobex/libopieobex0_1.2.0.bb @@ -1,24 +1,7 @@ -DESCRIPTION = "IrDA obex support library" -SECTION = "opie/libs" -PRIORITY = "optional" -MAINTAINER = "Team Opie " -LICENSE = "LGPL" -DEPENDS = "opie-taskbar" -RDEPENDS = "openobex-apps" -APPNAME = "obex" +include libopieobex0.inc +PR = "r1" SRC_URI = "${HANDHELDS_CVS};tag=${TAG};module=opie/core/obex \ ${HANDHELDS_CVS};tag=${TAG};module=opie/pics \ file://chdir-patch.patch;patch=1;pnum=0 " -S = "${WORKDIR}/obex" - -inherit opie - -do_install() { - install -d ${D}${palmtopdir}/pics/${APPNAME}/ ${D}${palmtopdir}/plugins/obex/ - install -m 0644 ${WORKDIR}/pics/${APPNAME}/*.png ${D}${palmtopdir}/pics/${APPNAME}/ - oe_libinstall -so libopieobex ${D}${palmtopdir}/plugins/obex/ -} - -FILES_${PN} = "${palmtopdir}/plugins/obex/ ${palmtopdir}/pics/obex/" diff --git a/packages/libopieobex/libopieobex0_cvs.bb b/packages/libopieobex/libopieobex0_cvs.bb index c43faf8659..05983a8ee3 100644 --- a/packages/libopieobex/libopieobex0_cvs.bb +++ b/packages/libopieobex/libopieobex0_cvs.bb @@ -1,23 +1,7 @@ -DESCRIPTION = "IrDA obex support library" -SECTION = "opie/libs" -PRIORITY = "optional" -MAINTAINER = "Team Opie " -LICENSE = "LGPL" -DEPENDS = "opie-taskbar" -RDEPENDS = "openobex-apps" +include libopieobex0.inc + PV = "1.2.0+cvs-${CVSDATE}" -APPNAME = "obex" +PR = "r1" SRC_URI = "${HANDHELDS_CVS};module=opie/core/obex \ ${HANDHELDS_CVS};module=opie/pics" -S = "${WORKDIR}/obex" - -inherit opie - -do_install() { - install -d ${D}${palmtopdir}/pics/${APPNAME}/ ${D}${palmtopdir}/plugins/obex/ - install -m 0644 ${WORKDIR}/pics/${APPNAME}/*.png ${D}${palmtopdir}/pics/${APPNAME}/ - oe_libinstall -so libopieobex ${D}${palmtopdir}/plugins/obex/ -} - -FILES_${PN} = "${palmtopdir}/plugins/obex/ ${palmtopdir}/pics/obex/" -- cgit v1.2.3