summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorOyvind Repvik <nail@nslu2-linux.org>2007-03-16 23:38:56 +0000
committerOyvind Repvik <nail@nslu2-linux.org>2007-03-16 23:38:56 +0000
commit6ab4ab90bbb405a076f6cfa04161a6d9a27900ef (patch)
treec320efa239ed8dfc870e26ffd19ff49f6a4d982e
parentd9ca4862fd7a02e1a28e90cdb321342f4b779e36 (diff)
fis: Remove fis-static, update shared fis
-rw-r--r--packages/fis/fis_1.0.bb17
1 files changed, 0 insertions, 17 deletions
diff --git a/packages/fis/fis_1.0.bb b/packages/fis/fis_1.0.bb
index 09bfa90a36..ea4c0af6c8 100644
--- a/packages/fis/fis_1.0.bb
+++ b/packages/fis/fis_1.0.bb
@@ -5,31 +5,14 @@ DEPENDS = "boost"
SRC_URI = "http://svn.chezphil.org/utils/trunk/fis.cc \
svn://svn.chezphil.org/;module=libpbe;proto=http"
-PACKAGES =+ "fis-static"
-FILES_${PN}-static = "${sbindir}/fis-static"
-FILES_${PN} = "${sbindir}/fis"
-
do_compile() {
${CXX} -Os -W -I${STAGING_INCDIR} -I${WORKDIR}/libpbe/trunk/include -o fis ${WORKDIR}/fis.cc \
${WORKDIR}/libpbe/trunk/src/Exception.cc ${WORKDIR}/libpbe/trunk/src/utils.cc
-
- # Work around boost threading issue when compiling static
- # We're singlethreading anyway
-
- echo "#define BOOST_SP_DISABLE_THREADS" > ${WORKDIR}/tmpfile
- cat ${WORKDIR}/tmpfile ${WORKDIR}/fis.cc > ${WORKDIR}/fis.new
- mv ${WORKDIR}/fis.new ${WORKDIR}/fis.cc
- rm ${WORKDIR}/tmpfile
-
- ${CXX} -Os -W -static -I${STAGING_INCDIR} -I${WORKDIR}/libpbe/trunk/include -o fis-static ${WORKDIR}/fis.cc \
- ${WORKDIR}/libpbe/trunk/src/Exception.cc ${WORKDIR}/libpbe/trunk/src/utils.cc
}
do_install() {
- ${STRIP} ${WORKDIR}/fis-${PV}/fis-static
${STRIP} ${WORKDIR}/fis-${PV}/fis
install -d ${D}/${sbindir}
- install -m 755 ${WORKDIR}/fis-${PV}/fis-static ${D}/${sbindir}
install -m 755 ${WORKDIR}/fis-${PV}/fis ${D}/${sbindir}
}