summaryrefslogtreecommitdiff
path: root/packages/asterisk/asterisk_1.2.12.1.bb
diff options
context:
space:
mode:
authorFrans Meulenbroeks <fransmeulenbroeks@yahoo.com>2006-09-14 19:58:15 +0000
committerFrans Meulenbroeks <fransmeulenbroeks@yahoo.com>2006-09-14 19:58:15 +0000
commit267cf1fed093319afbc1f3d47e4efaca83d83149 (patch)
tree0ad23b134570124753e33a027a9f8f96830613fc /packages/asterisk/asterisk_1.2.12.1.bb
parentf875a93d3b51edfa6d287ca4ed4d3a8438b6bb2f (diff)
asterisk: added 1.2.12.1 on behalf of Corneliu Doban
Diffstat (limited to 'packages/asterisk/asterisk_1.2.12.1.bb')
-rw-r--r--packages/asterisk/asterisk_1.2.12.1.bb38
1 files changed, 38 insertions, 0 deletions
diff --git a/packages/asterisk/asterisk_1.2.12.1.bb b/packages/asterisk/asterisk_1.2.12.1.bb
new file mode 100644
index 0000000000..c27963c9a0
--- /dev/null
+++ b/packages/asterisk/asterisk_1.2.12.1.bb
@@ -0,0 +1,38 @@
+DESCRIPTION="The Asterisk open source software PBX"
+HOMEPAGE="www.asterisk.org"
+LICENSE="GPL"
+DEPENDS="ncurses zlib openssl curl alsa-lib libogg libvorbis popt"
+PR = "r0"
+
+SRC_URI="http://ftp.digium.com/pub/asterisk/releases/asterisk-${PV}.tar.gz \
+ file://uclibc-compat-getloadavg.patch;patch=1 \
+ file://uclibc-dsn.patch;patch=1 \
+ 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="${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/
+}
+
+