From 403d83e9cd508a0f290f0647163e3745fa91fd27 Mon Sep 17 00:00:00 2001 From: Jeremy Laine Date: Tue, 4 Dec 2007 11:20:19 +0000 Subject: sofia-sip: split glib-specific parts to ${PN}-glib --- packages/sofia-sip/sofia-sip.inc | 21 +++++++++++++++++++++ packages/sofia-sip/sofia-sip_1.11.7.bb | 14 ++------------ packages/sofia-sip/sofia-sip_1.12.7.bb | 13 ++----------- 3 files changed, 25 insertions(+), 23 deletions(-) create mode 100644 packages/sofia-sip/sofia-sip.inc diff --git a/packages/sofia-sip/sofia-sip.inc b/packages/sofia-sip/sofia-sip.inc new file mode 100644 index 0000000000..f2bc57688f --- /dev/null +++ b/packages/sofia-sip/sofia-sip.inc @@ -0,0 +1,21 @@ +DESCRIPTION = "Sofia-SIP is an open-source SIP User-Agent library, compliant with the IETF RFC3261 specification." +HOMEPAGE = "http://sofia-sip.sourceforge.net/" +LICENSE = "LGPL" +DEPENDS = "glib-2.0 openssl" + +SRC_URI = "${SOURCEFORGE_MIRROR}/${PN}/${P}.tar.gz" + +inherit autotools pkgconfig + +PACKAGES += " ${PN}-bin ${PN}-glib" + +FILES_${PN}-bin = "${bindir}" +FILES_${PN} = "${libdir}/libsofia-sip-ua.so.*" +FILES_${PN}-dev += "${datadir}/sofia-sip/*.awk" +FILES_${PN}-glib = "${libdir}/libsofia-sip-ua-glib.so.*" + +LEAD_SONAME = "libsofia-sip-ua.so" + +do_stage () { + autotools_stage_all +} diff --git a/packages/sofia-sip/sofia-sip_1.11.7.bb b/packages/sofia-sip/sofia-sip_1.11.7.bb index d7b24cd0f6..accc58784f 100644 --- a/packages/sofia-sip/sofia-sip_1.11.7.bb +++ b/packages/sofia-sip/sofia-sip_1.11.7.bb @@ -1,13 +1,3 @@ -DESCRIPTION = "Sofia-SIP is an open-source SIP User-Agent library, compliant with the IETF RFC3261 specification." -HOMEPAGE = "http://sofia-sip.sourceforge.net/" -LICENSE = "LGPL" -DEPENDS = "glib-2.0 openssl" -PR = "r1" +require sofia-sip.inc -SRC_URI = "${SOURCEFORGE_MIRROR}/${PN}/${P}.tar.gz" - -inherit autotools pkgconfig - -do_stage () { - autotools_stage_all -} +PR = "r2" diff --git a/packages/sofia-sip/sofia-sip_1.12.7.bb b/packages/sofia-sip/sofia-sip_1.12.7.bb index 91c93fd07e..4c3eff14df 100644 --- a/packages/sofia-sip/sofia-sip_1.12.7.bb +++ b/packages/sofia-sip/sofia-sip_1.12.7.bb @@ -1,12 +1,3 @@ -DESCRIPTION = "Sofia-SIP is an open-source SIP User-Agent library, compliant with the IETF RFC3261 specification." -HOMEPAGE = "http://sofia-sip.sourceforge.net/" -LICENSE = "LGPL" -DEPENDS = "glib-2.0 openssl" +require sofia-sip.inc -SRC_URI = "${SOURCEFORGE_MIRROR}/${PN}/${P}.tar.gz" - -inherit autotools pkgconfig - -do_stage () { - autotools_stage_all -} +PR = "r1" -- cgit v1.2.3