summaryrefslogtreecommitdiff
path: root/packages/asterisk/asterisk_1.2.9.1.bb
diff options
context:
space:
mode:
authorFrans Meulenbroeks <fransmeulenbroeks@yahoo.com>2006-06-09 08:08:11 +0000
committerOpenEmbedded Project <openembedded-devel@lists.openembedded.org>2006-06-09 08:08:11 +0000
commit67b85021d4db87c9052fb6c0442fdf6bf1391d0b (patch)
tree966b0f0a67b02409f97afb1192cf902d5e81f4cd /packages/asterisk/asterisk_1.2.9.1.bb
parent759e5b0223f56d360fdd1e2eda81aac574089dda (diff)
asterisk: added 1.2.9.1
Diffstat (limited to 'packages/asterisk/asterisk_1.2.9.1.bb')
-rw-r--r--packages/asterisk/asterisk_1.2.9.1.bb36
1 files changed, 36 insertions, 0 deletions
diff --git a/packages/asterisk/asterisk_1.2.9.1.bb b/packages/asterisk/asterisk_1.2.9.1.bb
new file mode 100644
index 0000000000..4298318935
--- /dev/null
+++ b/packages/asterisk/asterisk_1.2.9.1.bb
@@ -0,0 +1,36 @@
+DESCRIPTION="The Astersisk open source software PBX"
+HOMEPAGE="www.asterisk.org"
+LICENSE="GPL"
+DEPENDS="ncurses zlib openssl"
+PR = "r0"
+
+SRC_URI="http://ftp.digium.com/pub/asterisk/releases/asterisk-${PV}.tar.gz \
+ file://asterisk.patch;patch=1"
+
+
+export CROSS_COMPILE="${CCACHE}${HOST_PREFIX}"
+export CROSS_COMPILE_BIN="${STAGING_BINDIR}"
+export CROSS_COMPILE_TARGET="${STAGING_DIR}/${HOST_SYS}"
+
+export CROSS_ARCH="Linux"
+export CROSS_PROC="arm"
+export SUB_PROC="xscale"
+
+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/
+}
+
+