first commit
This commit is contained in:
3
src/libpcap/.gitignore
vendored
Normal file
3
src/libpcap/.gitignore
vendored
Normal file
@ -0,0 +1,3 @@
|
||||
.cache/
|
||||
dist/
|
||||
root/
|
2
src/libpcap/changes.md
Normal file
2
src/libpcap/changes.md
Normal file
@ -0,0 +1,2 @@
|
||||
# 1.10.4
|
||||
First version
|
17
src/libpcap/pkg.sh
Normal file
17
src/libpcap/pkg.sh
Normal file
@ -0,0 +1,17 @@
|
||||
NAME="libpcap"
|
||||
DESC="Functions for user-level packet capture, used in low-level network monitoring"
|
||||
VERSION="1.10.4"
|
||||
FILES=("https://www.tcpdump.org/release/libpcap-$VERSION.tar.gz")
|
||||
HASHES=("0322e28dd76cda8066bb6d00fee5969b")
|
||||
DEPENDS=("libnl" "libusb")
|
||||
|
||||
PACKAGE() {
|
||||
tar xf $NAME-$VERSION.tar.gz
|
||||
cd $NAME-$VERSION
|
||||
|
||||
./configure --prefix=/usr && make
|
||||
sed -i '/INSTALL_DATA.*libpcap.a\|RANLIB.*libpcap.a/ s/^/#/' Makefile
|
||||
make DESTDIR="$ROOTDIR" install
|
||||
|
||||
cd .. && rm -r $NAME-$VERSION
|
||||
}
|
Reference in New Issue
Block a user