2020-01-11 20:47:35 +00:00
|
|
|
name: libpcap-meta
|
|
|
|
modules:
|
|
|
|
- name: libpcap-platform
|
|
|
|
sources: &PCAP_SOURCES
|
|
|
|
- type: archive
|
|
|
|
url: https://www.tcpdump.org/release/libpcap-1.9.1.tar.gz
|
|
|
|
sha256: 635237637c5b619bcceba91900666b64d56ecb7be63f298f601ec786ce087094
|
|
|
|
builddir: true
|
|
|
|
build-options:
|
2020-01-21 03:09:23 +00:00
|
|
|
cflags: -flto
|
|
|
|
cxxflags: -flto
|
2020-01-11 20:47:35 +00:00
|
|
|
make-install-args:
|
|
|
|
- DESTDIR=/usr/tmp_pcap
|
|
|
|
- install
|
|
|
|
post-install:
|
|
|
|
- rm -rfv /usr/tmp_pcap/usr/share
|
|
|
|
- cp -ravP --remove-destination /usr/tmp_pcap/usr /
|
|
|
|
- rm -rfv /usr/tmp_pcap
|
|
|
|
cleanup-platform:
|
|
|
|
- "*.la"
|
|
|
|
- "*.a"
|
|
|
|
- "/include"
|
|
|
|
- name: libpcap-32bit
|
|
|
|
sources: *PCAP_SOURCES
|
|
|
|
builddir: true
|
|
|
|
config-opts:
|
|
|
|
- --build=i686-unknown-linux
|
|
|
|
- --libdir=/usr/lib32
|
|
|
|
build-options:
|
2020-01-21 03:09:23 +00:00
|
|
|
cflags: -flto -m32
|
|
|
|
cxxflags: -flto -m32
|
|
|
|
ldflags: -m32
|
2020-01-11 20:47:35 +00:00
|
|
|
make-install-args:
|
|
|
|
- DESTDIR=/usr/tmp_pcap
|
|
|
|
- install
|
|
|
|
post-install:
|
|
|
|
- rm -rfv /usr/tmp_pcap/usr/share
|
|
|
|
- cp -ravP --remove-destination /usr/tmp_pcap/usr /
|
|
|
|
- rm -rfv /usr/tmp_pcap
|
|
|
|
cleanup-platform:
|
|
|
|
- "*.la"
|
|
|
|
- "*.a"
|
|
|
|
- "/include"
|
|
|
|
only-arches:
|
|
|
|
- x86_64
|