mirror of
https://git.yoctoproject.org/poky
synced 2026-05-09 17:39:31 +00:00
libidl: Improve staging from OE.dev
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@914 311d38ba-8fff-0310-9ca6-ca027cbcb966
This commit is contained in:
@@ -2,13 +2,16 @@ LICENSE = "LGPL"
|
|||||||
DESCRIPTION = "Library for parsing CORBA IDL files"
|
DESCRIPTION = "Library for parsing CORBA IDL files"
|
||||||
SECTION = "gnome/libs"
|
SECTION = "gnome/libs"
|
||||||
DEPENDS = "glib-2.0"
|
DEPENDS = "glib-2.0"
|
||||||
PR = "r1"
|
PR = "r2"
|
||||||
|
|
||||||
SRC_URI = "http://ftp.gnome.org/pub/GNOME/sources/libIDL/0.8/libIDL-${PV}.tar.bz2"
|
SRC_URI = "http://ftp.gnome.org/pub/GNOME/sources/libIDL/0.8/libIDL-${PV}.tar.bz2"
|
||||||
S = "${WORKDIR}/libIDL-${PV}"
|
S = "${WORKDIR}/libIDL-${PV}"
|
||||||
|
|
||||||
inherit autotools pkgconfig
|
inherit autotools pkgconfig
|
||||||
|
|
||||||
|
# Firefox uses the libIDL-config-2 script instead of pkgconfig (for some
|
||||||
|
# strange reason - so we do some sed fu to fix the path there
|
||||||
|
|
||||||
do_stage() {
|
do_stage() {
|
||||||
oe_runmake install \
|
oe_runmake install \
|
||||||
prefix=${STAGING_DIR} \
|
prefix=${STAGING_DIR} \
|
||||||
@@ -17,6 +20,9 @@ do_stage() {
|
|||||||
libdir=${STAGING_LIBDIR} \
|
libdir=${STAGING_LIBDIR} \
|
||||||
datadir=${STAGING_DATADIR} \
|
datadir=${STAGING_DATADIR} \
|
||||||
infodir=${STAGING_INFODIR}
|
infodir=${STAGING_INFODIR}
|
||||||
|
|
||||||
|
cp ${STAGING_BINDIR}/libIDL-config-2 ${STAGING_BINDIR}/libIDL-config-2.orig
|
||||||
|
cat ${STAGING_BINDIR}/libIDL-config-2.orig | sed -e 's:${includedir}:${STAGING_INCDIR}:' > ${STAGING_BINDIR}/libIDL-config-2
|
||||||
}
|
}
|
||||||
|
|
||||||
FILES_${PN} = "${libdir}/*.so.*"
|
FILES_${PN} = "${libdir}/*.so.*"
|
||||||
|
|||||||
Reference in New Issue
Block a user