summaryrefslogtreecommitdiff
path: root/source/l/libpcap/libpcap.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'source/l/libpcap/libpcap.SlackBuild')
-rwxr-xr-xsource/l/libpcap/libpcap.SlackBuild12
1 files changed, 4 insertions, 8 deletions
diff --git a/source/l/libpcap/libpcap.SlackBuild b/source/l/libpcap/libpcap.SlackBuild
index 0460087a..f886ee3c 100755
--- a/source/l/libpcap/libpcap.SlackBuild
+++ b/source/l/libpcap/libpcap.SlackBuild
@@ -1,6 +1,6 @@
#!/bin/sh
-# Copyright 2008, 2009, 2010 Patrick J. Volkerding, Sebeka, MN, USA
+# Copyright 2008, 2009, 2010, 2012 Patrick J. Volkerding, Sebeka, MN, USA
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -79,13 +79,6 @@ make install DESTDIR=$PKG || exit 1
strip --strip-debug libpcap.so.1.?.?
-cp libpcap.so.?.?.? $PKG/usr/lib${LIBDIRSUFFIX}
-( cd $PKG/usr/lib${LIBDIRSUFFIX}
- ln -sf libpcap.so.1.?.? libpcap.so.1
- ln -sf libpcap.so.1 libpcap.so.0
- ln -sf libpcap.so.1 libpcap.so
-)
-
mkdir -p $PKG/usr/doc/libpcap-$VERSION
cp -a \
CHANGES CREDITS INSTALL.txt LICENSE README* TODO VERSION \
@@ -105,6 +98,9 @@ find $PKG | xargs file | grep -e "executable" -e "shared object" \
ln -sf pcap_next_ex.3pcap pcap_next.3pcap
ln -sf pcap_open_offline.3pcap pcap_fopen_offline.3pcap
ln -sf pcap_setnonblock.3pcap pcap_getnonblock.3pcap
+ ln -sf pcap_findalldevs.3pcap pcap_freealldevs.3pcap
+ ln -sf pcap_free_tstamp_types.3pcap pcap_list_tstamp_types.3pcap
+ ln -sf pcap_free_datalinks.3pcap pcap_list_datalinks.3pcap
)
# Compress and if needed symlink the man pages: