1 DESCRIPTION = "A Packet Sniffer"
2 HOMEPAGE = "http://www.tcpdump.org/"
3 SECTION = "Productivity/Networking/Diagnostic"
4 LICENSE = "BSD-3-Clause"
14 RPROVIDES_tcpdump += "tcpdump"
24 chmod -Rf a+rX,u+w,g-w,o-w ${S}
26 cp ${S}/packaging/tcpdump.manifest .
38 CFLAGS="-O2 -g -m64 -fmessage-length=0 -D_FORTIFY_SOURCE=2 -fstack-protector -funwind-tables -fasynchronous-unwind-tables" ; export CFLAGS ;
39 CXXFLAGS="${CXXFLAGS:--O2 -g -m64 -fmessage-length=0 -D_FORTIFY_SOURCE=2 -fstack-protector -funwind-tables -fasynchronous-unwind-tables}" ; export CXXFLAGS ;
40 FFLAGS="${FFLAGS:--O2 -g -m64 -fmessage-length=0 -D_FORTIFY_SOURCE=2 -fstack-protector -funwind-tables -fasynchronous-unwind-tables -I%_fmoddir}" ; export FFLAGS ;
41 LD_AS_NEEDED=1; export LD_AS_NEEDED ;
43 export CFLAGS="-O2 -g -m64 -fmessage-length=0 -D_FORTIFY_SOURCE=2 -fstack-protector -funwind-tables -fasynchronous-unwind-tables -Wall -DGUESS_TSO -fstack-protector -fno-strict-aliasing"
45 CFLAGS="${CFLAGS:--O2 -g -m64 -fmessage-length=0 -D_FORTIFY_SOURCE=2 -fstack-protector -funwind-tables -fasynchronous-unwind-tables}" ; export CFLAGS ;
46 CXXFLAGS="${CXXFLAGS:--O2 -g -m64 -fmessage-length=0 -D_FORTIFY_SOURCE=2 -fstack-protector -funwind-tables -fasynchronous-unwind-tables}" ; export CXXFLAGS ;
47 FFLAGS="${FFLAGS:--O2 -g -m64 -fmessage-length=0 -D_FORTIFY_SOURCE=2 -fstack-protector -funwind-tables -fasynchronous-unwind-tables -I%_fmoddir}" ; export FFLAGS ;
48 autotools_do_configure --build=${TARGET_SYS} --host=${HOST_SYS} \
49 --target=x86_64-tizen-linux \
56 --datadir=/usr/share \
57 --includedir=/usr/include \
59 --libexecdir=/usr/libexec \
60 --localstatedir=/var \
61 --sharedstatedir=/usr/com \
62 --mandir=/usr/share/man \
63 --infodir=/usr/share/info \
72 echo export RPM_BUILD_ROOT=${D}
85 rm -f ${D}/usr/share/info/dir
86 find ${D} -regex ".*\.la$" | xargs rm -f --
87 find ${D} -regex ".*\.a$" | xargs rm -f --
96 tcpdump_files += "tcpdump.manifest"
97 tcpdump_files += "LICENSE README *.awk"
98 tcpdump_files += "/usr/share/man/man?/*"
99 tcpdump_files += "/usr/sbin/*"
101 FILES_${PN} = "${tcpdump_files}"
103 PKG_tcpdump= "tcpdump"
105 require tcpdump-extraconf.inc