summaryrefslogtreecommitdiff
path: root/slotsig
diff options
context:
space:
mode:
authorerich@mine.nu <erich@mine.nu>2004-04-01 23:34:02 +0000
committererich@mine.nu <erich@mine.nu>2004-04-01 23:34:02 +0000
commite686559d0d1873b6185a21039511991f37f15f9c (patch)
tree9683394538be6ff46c67f149745efc6f5137a95a /slotsig
parentb5a7b2f50f75f480f240bec89101d5b11adcecf5 (diff)
Merge openembedded@openembedded.bkbits.net:packages
into erichl.mine.nu:/home/erich/src/packages 2004/04/01 18:33:27-05:00 mine.nu!erich RDEPENDS cleanup - removed explicit RDEPENDS on shared libraries since it is automatically created at packaging time BKrev: 406ca6eaDQx4hBfzmy25UVudaZgnBQ
Diffstat (limited to 'slotsig')
-rw-r--r--slotsig/slotsig_0.4.oe28
1 files changed, 28 insertions, 0 deletions
diff --git a/slotsig/slotsig_0.4.oe b/slotsig/slotsig_0.4.oe
index e69de29bb2..d0892ae84d 100644
--- a/slotsig/slotsig_0.4.oe
+++ b/slotsig/slotsig_0.4.oe
@@ -0,0 +1,28 @@
+DESCRIPTION = "A lightweight signal/slot library for decoupling C++ method calls"
+SECTION = "libs"
+PRIORITY = "optional"
+LICENSE = "GPL"
+DEPENDS = "virtual/libc"
+
+SRC_URI = "http://kafka.fr.free.fr/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_soinstall libslotsig.so.${PV} ${STAGING_LIBDIR}/
+
+ install -d ${STAGING_INCDIR}/slotsig/
+ for X in slotsig/*.h
+ do
+ install -m 0644 ${S}/$X ${STAGING_INCDIR}/$X
+ done
+}
+
+do_install() {
+ install -d ${D}${libdir}/
+ oe_soinstall libslotsig.so.${PV} ${D}${libdir}/
+}
+