summaryrefslogtreecommitdiff
path: root/recipes
diff options
context:
space:
mode:
authorPhil Blundell <philb@gnu.org>2010-06-04 13:30:32 +0100
committerPhil Blundell <philb@gnu.org>2010-06-04 13:57:47 +0100
commitc235146da8799defb436c414ee6f11b4b2a0e1c3 (patch)
treeb4ba0298c65324f49f9c3dc35daf11aa39374720 /recipes
parent04d50d5a04032319e8bdcbf8de59866846e3dc63 (diff)
linux-atm: update to 2.5.1
Diffstat (limited to 'recipes')
-rw-r--r--recipes/linux-atm/linux-atm_2.5.1.bb50
1 files changed, 50 insertions, 0 deletions
diff --git a/recipes/linux-atm/linux-atm_2.5.1.bb b/recipes/linux-atm/linux-atm_2.5.1.bb
new file mode 100644
index 0000000000..1ca9ea724c
--- /dev/null
+++ b/recipes/linux-atm/linux-atm_2.5.1.bb
@@ -0,0 +1,50 @@
+DESCRIPTION = "Drivers and tools to support ATM networking under Linux"
+HOMEPAGE = "http://linux-atm.sourceforge.net/"
+SECTION = "libs"
+PRIORITY = "optional"
+DEPENDS = "virtual/kernel flex-native"
+PR = "r1"
+LICENSE = "GPL LGPL"
+
+SRC_URI = "http://heanet.dl.sourceforge.net/sourceforge/linux-atm/linux-atm-${PV}.tgz;name=tgz"
+S = "${WORKDIR}/linux-atm-${PV}"
+
+SRC_URI[tgz.md5sum] = "9560b0e1f410a05b849dfdab465dd758"
+SRC_URI[tgz.sha256sum] = "6bc60fe53c9e9c828a6d7f3675da11ad7fb54491863584e01c1051740fe2a286"
+
+inherit autotools pkgconfig flow-lossage
+
+
+headers_include="atmd.h atm.h atmsap.h"
+headers_arpd="atmarp.h atmarpd.h"
+
+binarys_sbin="maint/atmaddr maint/atmloop lane/bus ilmid/ilmid mpoad/mpcd arpd/atmarp sigd/atmsigd maint/enitune lane/lecs led/zeppelin arpd/atmarpd maint/atmtcp maint/esi lane/les maint/zntune"
+binarys_bin="test/aread maint/atmdiag maint/atmdump test/awrite maint/saaldump maint/sonetdiag test/ttcp_atm"
+
+
+do_compile_prepend() {
+ oe_runmake -C ${S}/src/qgen AR='${BUILD_AR}' CPP='${BUILD_CPP}' CC='${BUILD_CC}' CFLAGS='${BUILD_CFLAGS}' DEFS='-I${S}/src -I. -I../.. -DHAVE_CONFIG_H' CPPFLAGS='${BUILD_CPPFLAGS}' LD='${BUILD_LD}' LDFLAGS='${BUILD_LDFLAGS}' qgen
+ oe_runmake -C ${S}/src/qgen DEFS='-I${S}/src -I. -I../.. -DHAVE_CONFIG_H' all
+}
+
+do_stage () {
+ oe_libinstall -so -C src/lib libatm ${STAGING_LIBDIR}
+
+ for i in ${headers_include}; do
+ install -m 0644 src/include/$i ${STAGING_INCDIR}/$i
+ done
+
+ for i in ${headers_arpd}; do
+ install -m 0644 src/arpd/$i ${STAGING_INCDIR}/$i
+ done
+
+ for i in ${binarys_sbin}; do
+ install -m 0755 src/$i ${STAGING_BINDIR}/`basename $i`
+ done
+
+ for i in ${binarys_bin}; do
+ install -m 0755 src/$i ${STAGING_BINDIR}/`basename $i`
+ done
+}
+
+