Receipt for package "libpcap"
# SliTaz package receipt. PACKAGE="libpcap" VERSION="1.10.1" CATEGORY="development" SHORT_DESC="Library for tcpdump." MAINTAINER="sdaigl@lacitec.on.ca" LICENSE="BSD" WEB_SITE="https://www.tcpdump.org/" TARBALL="$PACKAGE-$VERSION.tar.gz" WGET_URL="${WEB_SITE}release/$TARBALL"; DEPENDS="libnl" BUILD_DEPENDS="bison flex libnl-dev" HOST_ARCH="i486 arm x86_64" # Handle cross compilation case "$ARCH" in arm) BUILD_DEPENDS="" ARCH_ARGS="--with-pcap=linux" export ac_cv_linux_vers=2 ;; esac # What is the latest version available today? current_version() { wget -O - ${WGET_URL%/*} 2>/dev/null | \ sed "/latest/d;/$PACKAGE-[0-9]/!d;/tar/!d;s|.*$PACKAGE-\\(.*\\).tar.*|\\1|" | sort -Vr | sed q } # Rules to configure and make the package. compile_rules() { ./configure \ $CONFIGURE_ARGS \ $ARCH_ARGS && make && make install } # Rules to gen a SliTaz package suitable for Tazpkg. genpkg_rules() { cook_copy_files *.so* }
6063 packages and 233209 files in current database (Sat Dec 21 00:00:03 2024)