diff options
Diffstat (limited to 'recipes/ser/ser_0.9.0.bb')
-rw-r--r-- | recipes/ser/ser_0.9.0.bb | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/recipes/ser/ser_0.9.0.bb b/recipes/ser/ser_0.9.0.bb new file mode 100644 index 0000000000..25e5936248 --- /dev/null +++ b/recipes/ser/ser_0.9.0.bb @@ -0,0 +1,23 @@ +SECTION = "console/telephony" +DESCRIPTION = "iptel.org SIP Express Router" +HOMEPAGE = "http://www.iptel.org/ser/" +LICENSE = "GPLv2" +DEPENDS = "flex" +SRC_URI = "ftp://ftp.berlios.de/pub/ser/0.9.0/src/ser-${PV}_src.tar.gz \ + file://init \ + file://fix-sercfg.patch;patch=1" + +LDFLAGS_append = "-rdynamic" + +# Switch to temporary debug here +#SELECTED_OPTIMIZATION = "-O -g" + +do_compile() { + oe_runmake bin-target=${sbindir} doc-target=${docdir}/ser modules-target=${libdir}/ser/modules/ cfg-target=${sysconfdir}/ser/ prefix=${prefix} cfg-prefix=/ ARCH=${TARGET_ARCH} LD='${CC}' all +} + +do_install() { + install -d ${D}/${sysconfdir}/init.d + install -m 0755 ${WORKDIR}/init ${D}/${sysconfdir}/init.d/ser + oe_runmake bin-target=${sbindir} doc-target=${docdir}/ser modules-target=${libdir}/ser/modules/ cfg-target=${sysconfdir}/ser/ prefix=${D}/usr cfg-prefix=${D} LD='${CC}' install +} |