libpcap, remove static library (#8319)

This commit is contained in:
Schrijvers Luc
2023-04-09 09:50:08 +02:00
committed by GitHub
parent 9adcfd5505
commit 82d459f09f

View File

@@ -22,7 +22,7 @@ COPYRIGHT="1988-1998 The Regents of the University of California
2009 Felix Obenhuber
2014 Michal Labedzki for Tieto Corporation"
LICENSE="BSD (3-clause)"
REVISION="1"
REVISION="2"
SOURCE_URI="http://www.tcpdump.org/release/libpcap-$portVersion.tar.gz"
CHECKSUM_SHA256="2a8885c403516cf7b0933ed4b14d6caa30e02052489ebd414dc75ac52e7559e6"
@@ -61,7 +61,7 @@ BUILD_PREREQUIRES="
cmd:flex
cmd:gcc$secondaryArchSuffix
cmd:ld$secondaryArchSuffix
cmd:libtoolize
cmd:libtoolize$secondaryArchSuffix
cmd:make
cmd:pkg_config$secondaryArchSuffix
"
@@ -78,13 +78,15 @@ INSTALL()
{
make install
# remove static library
rm -f $libDir/libpcap.a
# prepare develop/lib
prepareInstalledDevelLibs libpcap
prepareInstalledDevelLib libpcap
fixPkgconfig
# devel package
packageEntries devel \
$developDir \
$binDir/pcap-config
}