summaryrefslogtreecommitdiff
path: root/packages/asterisk/asterisk_1.2.8.bb
diff options
context:
space:
mode:
authorFrans Meulenbroeks <fransmeulenbroeks@yahoo.com>2006-06-06 21:13:40 +0000
committerOpenEmbedded Project <openembedded-devel@lists.openembedded.org>2006-06-06 21:13:40 +0000
commit0d4bb86c55d1506fc362f20e4fb1b4fe1d02d1ae (patch)
tree33643c3528f479fd005a553238c319ac7d589ca8 /packages/asterisk/asterisk_1.2.8.bb
parent2e48170899c8c179a213cc668bb05424dca43bb9 (diff)
asterisk: added 1.2.8; kudo's to Corneliu for providing the bb file and patch
Diffstat (limited to 'packages/asterisk/asterisk_1.2.8.bb')
-rw-r--r--packages/asterisk/asterisk_1.2.8.bb32
1 files changed, 32 insertions, 0 deletions
diff --git a/packages/asterisk/asterisk_1.2.8.bb b/packages/asterisk/asterisk_1.2.8.bb
new file mode 100644
index 0000000000..a9917c6e62
--- /dev/null
+++ b/packages/asterisk/asterisk_1.2.8.bb
@@ -0,0 +1,32 @@
+DESCRIPTION="The Astersisk open source software PBX"
+HOMEPAGE="www.asterisk.org"
+LICENSE="GPL"
+DEPENDS="ncurses zlib openssl curl"
+PR = "r0"
+
+SRC_URI="http://ftp.digium.com/pub/asterisk/releases/asterisk-${PV}.tar.gz \
+ file://makefile.patch;patch=1"
+
+
+# Doh - they use 'L'inux intead of linux
+# FIXME: Do the sed here
+
+export OSARCH="Linux"
+export PROC="${TARGET_ARCH}"
+
+# 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/
+}
+
+