[oe-commits] org.oe.dev libnet 1.1.2.1: Clean up the format of the .bb by running though
lenehan commit
openembedded-commits at lists.openembedded.org
Mon Nov 6 02:38:51 UTC 2006
libnet 1.1.2.1: Clean up the format of the .bb by running though
oe-stylize.py.
Author: lenehan at openembedded.org
Branch: org.openembedded.dev
Revision: e76ceb4c3e9656421e2f3bae3a66d66bae6740e8
ViewMTN: http://monotone.openembedded.org/revision.psp?id=e76ceb4c3e9656421e2f3bae3a66d66bae6740e8
Files:
1
packages/libnet/libnet_1.1.2.1.bb
Diffs:
#
# mt diff -r19b357baca48f91a2d470c3fd3810c371cd5fd1f -re76ceb4c3e9656421e2f3bae3a66d66bae6740e8
#
#
#
# patch "packages/libnet/libnet_1.1.2.1.bb"
# from [d0a7771e6cbe8f88d09c1da72a2e31eb6e6d169f]
# to [b288c7143e2a2fb6d87a3089f0595760a91d36da]
#
============================================================
--- packages/libnet/libnet_1.1.2.1.bb d0a7771e6cbe8f88d09c1da72a2e31eb6e6d169f
+++ packages/libnet/libnet_1.1.2.1.bb b288c7143e2a2fb6d87a3089f0595760a91d36da
@@ -1,40 +1,38 @@
-SECTION = "libs"
DESCRIPTION = "A packet dissection and creation library"
HOMEPAGE = "http://www.packetfactory.net/libnet/"
-LICENSE = "BSD"
+SECTION = "libs"
PRIORITY = "optional"
+LICENSE = "BSD"
DEPENDS = "libpcap"
-PR = "r1"
-
# There are major API changes beween libnet v1.0 and libnet v1.1
PROVIDES = "libnet-1.1"
+PR = "r1"
SRC_URI = "http://www.packetfactory.net/libnet/dist/libnet-${PV}.tar.gz \
- file://support-uclibc.patch;patch=1 \
- file://fix-endianess-test.patch;patch=1"
+ file://support-uclibc.patch;patch=1 \
+ file://fix-endianess-test.patch;patch=1"
S = "${WORKDIR}/libnet"
inherit autotools binconfig
-CPPFLAGS_prepend = "-I${S}/libnet/include "
-
do_configure_prepend() {
rm -f aclocal.m4 Makefile.am ltmain.sh
}
-
-do_stage () {
- oe_runmake -C src 'DESTDIR=${STAGING_LIBDIR}' 'libdir=' install-libLIBRARIES
- oe_runmake -C include 'DESTDIR=${STAGING_INCDIR}' 'includedir=' install-includeHEADERS
- oe_runmake -C include/libnet 'DESTDIR=${STAGING_INCDIR}' 'includedir=' install-libnetincludeHEADERS
+do_install_append () {
+ install -d ${D}${datadir}/man/man3/
+ install -d ${D}${bindir}
+ install -m 0644 ${S}/doc/man/man3/*.3 ${D}${datadir}/man/man3/
+ install -m 0755 ${S}/libnet-config ${D}${bindir}
}
-
-do_install_append () {
- install -d ${D}${datadir}/man/man3/
- install -d ${D}${bindir}
- install -m 0644 ${S}/doc/man/man3/*.3 ${D}${datadir}/man/man3/
- install -m 0755 ${S}/libnet-config ${D}${bindir}
+do_stage () {
+ oe_runmake -C src 'DESTDIR=${STAGING_LIBDIR}' 'libdir=' install-libLIBRARIES
+ oe_runmake -C include 'DESTDIR=${STAGING_INCDIR}' 'includedir=' install-includeHEADERS
+ oe_runmake -C include/libnet 'DESTDIR=${STAGING_INCDIR}' 'includedir=' install-libnetincludeHEADERS
}
PACKAGES = "${PN}-dev ${PN}-doc"
+
FILES_${PN}-dev += "${bindir}/libnet-config"
+
+CPPFLAGS_prepend = "-I${S}/libnet/include "
More information about the Openembedded-commits
mailing list