diff options
Diffstat (limited to 'packages')
-rw-r--r-- | packages/hal/hal_0.5.8.1.bb | 4 | ||||
-rw-r--r-- | packages/libexif/libexif_0.6.13.bb | 3 | ||||
-rw-r--r-- | packages/libpcap/libpcap-0.9.5/.mtn2git_empty | 0 | ||||
-rw-r--r-- | packages/libpcap/libpcap_0.9.5.bb | 31 | ||||
-rw-r--r-- | packages/netperf/netperf_2.4.2.bb | 43 |
5 files changed, 78 insertions, 3 deletions
diff --git a/packages/hal/hal_0.5.8.1.bb b/packages/hal/hal_0.5.8.1.bb index edfac3c489..4b2196f875 100644 --- a/packages/hal/hal_0.5.8.1.bb +++ b/packages/hal/hal_0.5.8.1.bb @@ -6,9 +6,9 @@ LICENSE = "GPL LGPL AFL" DEPENDS = "dbus-glib expat libusb" RDEPENDS += "udev" #RDEPENDS_hal-device-manager = "python hal python-pygnome" -RRECOMMENDS = "udev-utils hal-info" +RRECOMMENDS = "udev-utils" -PR = "r0" +PR = "r1" SRC_URI = "http://freedesktop.org/~david/dist/hal-${PV}.tar.gz" diff --git a/packages/libexif/libexif_0.6.13.bb b/packages/libexif/libexif_0.6.13.bb index 9f3136798f..e8b8c65953 100644 --- a/packages/libexif/libexif_0.6.13.bb +++ b/packages/libexif/libexif_0.6.13.bb @@ -2,6 +2,7 @@ DESCRIPTION = "Library to read the extended image information (EXIF) from JPEG p HOMEPAGE = "http://sourceforge.net/projects/libexif" SECTION = "libs" LICENSE = "LGPL" +PR = "r1" SRC_URI = "${SOURCEFORGE_MIRROR}/libexif/libexif-${PV}.tar.bz2" @@ -11,7 +12,7 @@ do_stage() { oe_libinstall -a -so -C libexif libexif ${STAGING_LIBDIR} install -d ${STAGING_INCDIR}/libexif - for X in exif-byte-order.h exif-data.h exif-format.h exif-loader.h exif-tag.h exif-content.h exif-entry.h exif-ifd.h exif-utils.h exif-log.h exif-mnote-data.h _stdint.h + for X in exif-byte-order.h exif-data.h exif-format.h exif-loader.h exif-tag.h exif-content.h exif-entry.h exif-ifd.h exif-utils.h exif-log.h exif-mnote-data.h _stdint.h exif-data-type.h exif-mem.h do install -m 0644 ${S}/libexif/$X ${STAGING_INCDIR}/libexif/$X done diff --git a/packages/libpcap/libpcap-0.9.5/.mtn2git_empty b/packages/libpcap/libpcap-0.9.5/.mtn2git_empty new file mode 100644 index 0000000000..e69de29bb2 --- /dev/null +++ b/packages/libpcap/libpcap-0.9.5/.mtn2git_empty diff --git a/packages/libpcap/libpcap_0.9.5.bb b/packages/libpcap/libpcap_0.9.5.bb new file mode 100644 index 0000000000..09002d92b8 --- /dev/null +++ b/packages/libpcap/libpcap_0.9.5.bb @@ -0,0 +1,31 @@ +DESCRIPTION = "Network Packet Capture Library" +HOMEPAGE = "http://www.tcpdump.org/" +LICENSE = "BSD" +SECTION = "libs/network" + +SRC_URI = "http://www.tcpdump.org/release/libpcap-${PV}.tar.gz \ + file://shared.patch;patch=1" + +inherit autotools + +EXTRA_OECONF = "--with-pcap=linux" + +CPPFLAGS_prepend = "-I${S} " +CFLAGS_prepend = "-I${S} " +CXXFLAGS_prepend = "-I${S} " + +do_configure_prepend () { + if [ ! -e acinclude.m4 ]; then + cat aclocal.m4 > acinclude.m4 + fi +} + +do_stage () { + install -m 0644 pcap.h ${STAGING_INCDIR}/pcap.h + install -m 0644 pcap-namedb.h ${STAGING_INCDIR}/pcap-namedb.h + install -m 0644 pcap-bpf.h ${STAGING_INCDIR}/pcap-bpf.h + oe_libinstall -a -so libpcap ${STAGING_LIBDIR} + install -d ${STAGING_INCDIR}/net + ln -sf ${STAGING_INCDIR}/pcap-bpf.h ${STAGING_INCDIR}/net/bpf.h + install -m 0644 acinclude.m4 ${STAGING_DATADIR}/aclocal/libpcap.m4 +} diff --git a/packages/netperf/netperf_2.4.2.bb b/packages/netperf/netperf_2.4.2.bb new file mode 100644 index 0000000000..e10d1c0094 --- /dev/null +++ b/packages/netperf/netperf_2.4.2.bb @@ -0,0 +1,43 @@ +DESCRIPTION="Network performance benchmark including tests for TCP, UDP, sockets, ATM and more." +SECTION = "console/network" +HOMEPAGE = "http://www.netperf.org/" +LICENSE = "netperf" + +SRC_URI="${DEBIAN_MIRROR}/non-free/n/netperf/netperf_${PV}.orig.tar.gz \ + file://init" + +inherit update-rc.d autotools + +S = "${WORKDIR}/netperf-${PV}" + +CFLAGS_append = " -DDO_UNIX -DDO_IPV6" + +do_configure_prepend() { + install -m 0644 ${S}/m4/m4/m4/*.m4 ${S}/m4/ + install -m 0644 ${S}/src/missing/m4/*.m4 ${S}/m4/ +} + +do_install() { + install -d ${D}${sbindir} ${D}${bindir} ${D}${sysconfdir}/init.d + install -m 4755 src/netperf ${D}${bindir} + install -m 4755 src/netserver ${D}${sbindir} + install -m 0755 ${WORKDIR}/init ${D}${sysconfdir}/init.d/netperf + + # man + install -d ${D}${mandir}/man1/ + install -m 0644 doc/netserver.man ${D}${mandir}/man1/netserver.1 + install -m 0644 doc/netperf.man ${D}${mandir}/man1/netperf.1 + + # move scripts to examples directory + install -d ${D}${docdir}/netperf/examples + install -m 0644 doc/examples/*_script ${D}${docdir}/netperf/examples/ + + # docs .. + install -m 0644 COPYING ${D}${docdir}/netperf + install -m 0644 Release_Notes ${D}${docdir}/netperf + install -m 0644 README ${D}${docdir}/netperf + install -m 0644 doc/netperf_old.ps ${D}${docdir}/netperf +} + +INITSCRIPT_NAME="netperf" +INITSCRIPT_PARAMS="defaults" |