Add libpcap support
parent
7ebd1d4456
commit
da61a358c2
|
@ -1,5 +1,6 @@
|
||||||
# Supported
|
# Supported
|
||||||
- libGLU
|
- libGLU
|
||||||
|
- libpcap
|
||||||
- MinGW
|
- MinGW
|
||||||
|
|
||||||
# Missing
|
# Missing
|
||||||
|
@ -12,7 +13,6 @@
|
||||||
- OSSv4 (for what?)
|
- OSSv4 (for what?)
|
||||||
|
|
||||||
# TODO
|
# TODO
|
||||||
- pcap
|
|
||||||
- libhal
|
- libhal
|
||||||
- libsane
|
- libsane
|
||||||
- libudev
|
- libudev
|
||||||
|
|
|
@ -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
|
|
@ -5,3 +5,4 @@ build-commands:
|
||||||
modules:
|
modules:
|
||||||
- winetricks.yaml
|
- winetricks.yaml
|
||||||
- libglu.yaml
|
- libglu.yaml
|
||||||
|
- libpcap.yaml
|
||||||
|
|
Loading…
Reference in New Issue