Add libpcap support

master
Marko Semet 2019-08-31 22:33:18 +02:00
parent 7ebd1d4456
commit da61a358c2
3 changed files with 48 additions and 1 deletions

View File

@ -1,5 +1,6 @@
# Supported
- libGLU
- libpcap
- MinGW
# Missing
@ -12,7 +13,6 @@
- OSSv4 (for what?)
# TODO
- pcap
- libhal
- libsane
- libudev

View File

@ -0,0 +1,46 @@
name: libpcap-meta
modules:
- name: libpcap-platform
sources:
- type: archive
url: https://www.tcpdump.org/release/libpcap-1.9.0.tar.gz
sha256: 2edb88808e5913fdaa8e9c1fcaf272e19b2485338742b5074b9fe44d68f37019
builddir: true
build-options:
make-install-args:
- DESTDIR=/usr/tmp_pcap
- install
post-install:
- rm -rfv /usr/tmp_pcap/usr/share
- cp -rav /usr/tmp_pcap/usr /
- rm -rfv /usr/tmp_pcap
cleanup-platform:
- "*.la"
- "*.a"
- "/include"
- name: libpcap-32bit
sources:
- type: archive
url: https://www.tcpdump.org/release/libpcap-1.9.0.tar.gz
sha256: 2edb88808e5913fdaa8e9c1fcaf272e19b2485338742b5074b9fe44d68f37019
builddir: true
config-opts:
- --build=i686-unknown-linux
- --libdir=/usr/lib32
- CFLAGS=-m32
- CXXFLAGS=-m32
- LDFLAGS=-m32
build-options:
make-install-args:
- DESTDIR=/usr/tmp_pcap
- install
post-install:
- rm -rfv /usr/tmp_pcap/usr/share
- cp -rav /usr/tmp_pcap/usr /
- rm -rfv /usr/tmp_pcap
cleanup-platform:
- "*.la"
- "*.a"
- "/include"
only-arches:
- x86_64

View File

@ -5,3 +5,4 @@ build-commands:
modules:
- winetricks.yaml
- libglu.yaml
- libpcap.yaml