diff options
author | Stelios Koroneos <skoroneos@digital-opsis.com> | 2008-05-01 13:43:48 +0000 |
---|---|---|
committer | Stelios Koroneos <skoroneos@digital-opsis.com> | 2008-05-01 13:43:48 +0000 |
commit | 6827eda9aeb9ea33d9ca56bf864b7b0605e0447d (patch) | |
tree | 6025d86bc0cec366692fdb6864da7b25cef2cd36 /packages/asterisk/asterisk_1.2.28.bb | |
parent | 93c598646b4a192331b77816048fbde223f57924 (diff) | |
parent | 4677e9577829e07467b025e476c9ec96d00fb21f (diff) |
merge of '9bb9579fd7698d62103b3f88f6d0910f8ba1e53d'
and 'd8f83de5204562e9c23bd329d59d35006de0f0f8'
Diffstat (limited to 'packages/asterisk/asterisk_1.2.28.bb')
-rw-r--r-- | packages/asterisk/asterisk_1.2.28.bb | 46 |
1 files changed, 46 insertions, 0 deletions
diff --git a/packages/asterisk/asterisk_1.2.28.bb b/packages/asterisk/asterisk_1.2.28.bb new file mode 100644 index 0000000000..90e756bf66 --- /dev/null +++ b/packages/asterisk/asterisk_1.2.28.bb @@ -0,0 +1,46 @@ +# Copyright (C) 2007-2008, Stelios Koroneos - Digital OPSiS, All Rights Reserved +# Released under the MIT license (see packages/COPYING) +DESCRIPTION="The Asterisk open source software PBX" +HOMEPAGE="www.asterisk.org" +LICENSE="GPL" +DEPENDS="ncurses zlib openssl curl alsa-lib libogg libvorbis speex" +SECTION = "console/telephony" +PR = "r0" + +SRC_URI="http://ftp.digium.com/pub/asterisk/releases/asterisk-${PV}.tar.gz \ + file://uclibc-compat-getloadavg.patch;patch=1 \ + file://uclibc-dns.patch;patch=1 \ + file://asterisk.patch;patch=1 \ + file://enable-speex.patch;patch=1" + +S = "${WORKDIR}/asterisk-${PV}" + + +export CROSS_COMPILE="${CCACHE}${HOST_PREFIX}" +export CROSS_COMPILE_BIN="${STAGING_BINDIR_CROSS}" +export CROSS_COMPILE_TARGET="${STAGING_DIR_HOST}" + +export CROSS_ARCH="Linux" +export CROSS_PROC="${TARGET_ARCH}" + +export MAKECMDGOALS="dont-optimize" + +# We will probably have to edit the CFLAG in the Makefile + +do_compile() { + oe_runmake +} + +do_install() { + oe_runmake DESTDIR=${D} install +} + +do_stage () { + install -d ${STAGING_INCDIR}/asterisk + install -m 0644 ${S}/include/asterisk/*.h ${STAGING_INCDIR}/asterisk/ +} + + +FILES_${PN}-dbg += "${libdir}/asterisk/modules/.debug" +FILES_${PN}-dbg += "/var/lib/asterisk/agi-bin/.debug" + |