summaryrefslogtreecommitdiff
path: root/org.handhelds.familiar/packages/slotsig
diff options
context:
space:
mode:
authorRene Wagner <rw@handhelds.org>2006-05-13 15:42:03 +0200
committerRene Wagner <rw@handhelds.org>2006-05-13 15:42:03 +0200
commit5a5346dfbec459c10d9e61e16e125b83975a1ef1 (patch)
tree342e16f3fe790d03b93294344e6154459888939f /org.handhelds.familiar/packages/slotsig
OE tree imported from monotone branch org.openembedded.oz354fam083 at revision 8b12e35772d79306d1d9de19c12b23681618532d.
Diffstat (limited to 'org.handhelds.familiar/packages/slotsig')
-rw-r--r--org.handhelds.familiar/packages/slotsig/slotsig_0.6.bb25
1 files changed, 25 insertions, 0 deletions
diff --git a/org.handhelds.familiar/packages/slotsig/slotsig_0.6.bb b/org.handhelds.familiar/packages/slotsig/slotsig_0.6.bb
new file mode 100644
index 0000000..a10859b
--- /dev/null
+++ b/org.handhelds.familiar/packages/slotsig/slotsig_0.6.bb
@@ -0,0 +1,25 @@
+DESCRIPTION = "A lightweight signal/slot library for decoupling C++ method calls"
+SECTION = "libs"
+PRIORITY = "optional"
+LICENSE = "GPL"
+
+SRC_URI = "${SOURCEFORGE_MIRROR}/slotsig/slotsig-${PV}.tar.bz2"
+
+do_compile() {
+ ${CXX} -c -fPIC ${CXXFLAGS} -o slotsig_bases.o slotsig/slotsig_bases.cpp
+ ${CXX} -shared -o libslotsig.so.${PV} slotsig_bases.o
+}
+
+do_stage() {
+ oe_libinstall -so libslotsig ${STAGING_LIBDIR}
+
+ install -d ${STAGING_INCDIR}/slotsig/
+ for X in slotsig/*.h
+ do
+ install -m 0644 ${S}/$X ${STAGING_INCDIR}/$X
+ done
+}
+
+do_install() {
+ oe_libinstall -so libslotsig ${D}${libdir}
+}