From e686559d0d1873b6185a21039511991f37f15f9c Mon Sep 17 00:00:00 2001 From: "erich@mine.nu" Date: Thu, 1 Apr 2004 23:34:02 +0000 Subject: 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 --- slotsig/slotsig_0.4.oe | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) (limited to 'slotsig') 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}/ +} + -- cgit v1.2.3