[oe-commits] org.oe.dev telepathy-glib: add 0.6.0

pH5 commit openembedded-commits at lists.openembedded.org
Fri Oct 19 07:03:54 UTC 2007


telepathy-glib: add 0.6.0

Author: pH5 at openembedded.org
Branch: org.openembedded.dev
Revision: 7723c5a523af0cc7fa0c81f0f97bd5e3c4c8cac6
ViewMTN: http://monotone.openembedded.org/revision/info/7723c5a523af0cc7fa0c81f0f97bd5e3c4c8cac6
Files:
1
packages/telepathy/telepathy-glib_0.6.0.bb
Diffs:

#
# mt diff -r947449a11154d240cf05eedd1cabe0d0a913f4d7 -r7723c5a523af0cc7fa0c81f0f97bd5e3c4c8cac6
#
# 
# 
# add_file "packages/telepathy/telepathy-glib_0.6.0.bb"
#  content [488ea77c03a9df921494f5d1bdc80e878d99a236]
# 
============================================================
--- packages/telepathy/telepathy-glib_0.6.0.bb	488ea77c03a9df921494f5d1bdc80e878d99a236
+++ packages/telepathy/telepathy-glib_0.6.0.bb	488ea77c03a9df921494f5d1bdc80e878d99a236
@@ -0,0 +1,40 @@
+DESCRIPTION = "Telepathy framework - GLib library"
+HOMEPAGE = "http://telepathy.freedesktop.org/wiki/"
+DEPENDS = "glib-2.0 dbus python-native dbus-native"
+LICENSE = "LGPL"
+
+SRC_URI = "http://telepathy.freedesktop.org/releases/telepathy-glib/${P}.tar.gz "
+
+inherit autotools pkgconfig
+
+FILES_${PN} += "${datadir}/telepathy \
+		${datadir}/dbus-1"
+
+do_stage() {
+	#
+	# copied autotools_stage_all because telepathy-glib has one lib only built as static
+	# so it can not be oe_libinstalled
+	#
+	rm -rf ${STAGE_TEMP}
+	mkdir -p ${STAGE_TEMP}
+	oe_runmake DESTDIR="${STAGE_TEMP}" install
+	if [ -d ${STAGE_TEMP}/${includedir} ]; then
+		cp -fpPR ${STAGE_TEMP}/${includedir}/* ${STAGING_INCDIR}
+	fi
+	if [ -d ${STAGE_TEMP}/${libdir} ]
+	then
+		for i in ${STAGE_TEMP}/${libdir}/*.la
+		do
+			if [ ! -f "$i" ]; then
+				cp -fpPR ${STAGE_TEMP}/${libdir}/* ${STAGING_LIBDIR}
+				break
+			fi
+		done
+		oe_libinstall -so -C telepathy-glib/.libs libtelepathy-glib ${STAGING_LIBDIR}
+	fi
+	if [ -d ${STAGE_TEMP}/${datadir}/aclocal ]; then
+		install -d ${STAGING_DATADIR}/aclocal
+		cp -fpPR ${STAGE_TEMP}/${datadir}/aclocal/* ${STAGING_DATADIR}/aclocal
+	fi
+	rm -rf ${STAGE_TEMP}
+}






More information about the Openembedded-commits mailing list