| 1 | NAME = libpcap |
|---|
| 2 | VERSION = 1.3.0 |
|---|
| 3 | GARTYPE = v2 |
|---|
| 4 | |
|---|
| 5 | DESCRIPTION = System-independent interface for user-level packet capture |
|---|
| 6 | define BLURB |
|---|
| 7 | A system-independent interface for user-level network packet capture. |
|---|
| 8 | endef |
|---|
| 9 | |
|---|
| 10 | MASTER_SITES = http://www.tcpdump.org/release/ |
|---|
| 11 | DISTFILES = $(DISTNAME).tar.gz |
|---|
| 12 | |
|---|
| 13 | VENDOR_URL = http://www.tcpdump.org/ |
|---|
| 14 | |
|---|
| 15 | LICENSE = LICENSE |
|---|
| 16 | |
|---|
| 17 | PACKAGES += CSWlibpcap1 |
|---|
| 18 | SPKG_DESC_CSWlibpcap1 = System-independent interface for user-level packet capture, libpcap.so.1 |
|---|
| 19 | PKGFILES_CSWlibpcap1 += $(call pkgfiles_lib,libpcap.so.1) |
|---|
| 20 | PKGFILES_CSWlibpcap1 += $(mandir)/man5/.* |
|---|
| 21 | OBSOLETED_BY_CSWlibpcap1 += CSWlibpcap |
|---|
| 22 | |
|---|
| 23 | PACKAGES += CSWlibpcap-dev |
|---|
| 24 | SPKG_DESC_CSWlibpcap-dev = Development files for libpcap |
|---|
| 25 | RUNTIME_DEP_PKGS_CSWlibpcap-dev = CSWlibpcap1 |
|---|
| 26 | # PKGFILES is catchall |
|---|
| 27 | # Lots of packages require libpcap.so as the old library didn't have a SONAME set. |
|---|
| 28 | # As this link is only in CSWlibpcap-dev the old CSWlibpcap needs to depend on it. |
|---|
| 29 | OBSOLETED_BY_CSWlibpcap-dev += CSWlibpcap |
|---|
| 30 | OBSOLETED_BY_CSWlibpcap-dev += CSWlibpcapdevel |
|---|
| 31 | CATALOGNAME_CSWlibpcapdevel = libpcap_devel_stub |
|---|
| 32 | |
|---|
| 33 | BUILD64 = 1 |
|---|
| 34 | |
|---|
| 35 | EXTRA_BUILD_ISAS_sparc = sparcv8plus |
|---|
| 36 | EXTRA_BUILD_ISAS_i386 = pentium |
|---|
| 37 | |
|---|
| 38 | CONFIGURE_ARGS = $(DIRPATHS) |
|---|
| 39 | CONFIGURE_ARGS += --enable-ipv6 |
|---|
| 40 | |
|---|
| 41 | # Make sure shared libraries are built |
|---|
| 42 | BUILD_ARGS = shared |
|---|
| 43 | INSTALL_ARGS = install-shared |
|---|
| 44 | |
|---|
| 45 | # No test target for libpcap |
|---|
| 46 | TEST_SCRIPTS = |
|---|
| 47 | |
|---|
| 48 | MERGE_DIRS_isa-sparcv8plus = $(libdir) |
|---|
| 49 | MERGE_DIRS_isa-pentium = $(libdir) |
|---|
| 50 | |
|---|
| 51 | # These are in the binaries only and specifiy compiler lines for unused includes |
|---|
| 52 | CHECKPKG_OVERRIDES_CSWlibpcap1 += file-with-bad-content |
|---|
| 53 | |
|---|
| 54 | include gar/category.mk |
|---|