diff options
author | Oyvind Repvik <nail@nslu2-linux.org> | 2007-01-15 16:56:14 +0000 |
---|---|---|
committer | Oyvind Repvik <nail@nslu2-linux.org> | 2007-01-15 16:56:14 +0000 |
commit | 906baa70751285bc921c40e3ebe5964fbeac7bbf (patch) | |
tree | df5890c60ba6eaa4f20140b76b54719074dad98e /packages/asterisk/asterisk_1.2.14.bb | |
parent | 78cfbc9c82c7acab44b6ba4d619f422760b9f03a (diff) | |
parent | 547d37e3dc0dd43dc86d45ab2490dc622b0c386d (diff) |
merge of 'cd5daaff9a39b5a7cfdc8b51c1371e6f01530b64'
and 'de437286d494ecd4e5d51aaa8d8a07c9bbe318b5'
Diffstat (limited to 'packages/asterisk/asterisk_1.2.14.bb')
-rw-r--r-- | packages/asterisk/asterisk_1.2.14.bb | 38 |
1 files changed, 38 insertions, 0 deletions
diff --git a/packages/asterisk/asterisk_1.2.14.bb b/packages/asterisk/asterisk_1.2.14.bb new file mode 100644 index 0000000000..42a3214f0a --- /dev/null +++ b/packages/asterisk/asterisk_1.2.14.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 = "r1" + +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_CROSS}" +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/ +} + + |