Merge pull request #14304 from neheb/tcpr
tcpreplay: fix compilation with Arch Linux
This commit is contained in:
commit
e36c02f603
|
@ -9,7 +9,7 @@ include $(TOPDIR)/rules.mk
|
||||||
|
|
||||||
PKG_NAME:=tcpreplay
|
PKG_NAME:=tcpreplay
|
||||||
PKG_VERSION:=4.3.3
|
PKG_VERSION:=4.3.3
|
||||||
PKG_RELEASE:=1
|
PKG_RELEASE:=2
|
||||||
|
|
||||||
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.xz
|
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.xz
|
||||||
PKG_SOURCE_URL:=https://github.com/appneta/tcpreplay/releases/download/v$(PKG_VERSION)
|
PKG_SOURCE_URL:=https://github.com/appneta/tcpreplay/releases/download/v$(PKG_VERSION)
|
||||||
|
@ -19,7 +19,7 @@ PKG_LICENSE:=GPL-3.0
|
||||||
PKG_LICENSE_FILES:=docs/LICENSE
|
PKG_LICENSE_FILES:=docs/LICENSE
|
||||||
PKG_CPE_ID:=cpe:/a:appneta:tcpreplay
|
PKG_CPE_ID:=cpe:/a:appneta:tcpreplay
|
||||||
|
|
||||||
PKG_FIXUP:=libtool
|
PKG_FIXUP:=autoreconf
|
||||||
PKG_INSTALL:=1
|
PKG_INSTALL:=1
|
||||||
|
|
||||||
include $(INCLUDE_DIR)/package.mk
|
include $(INCLUDE_DIR)/package.mk
|
||||||
|
@ -135,8 +135,6 @@ CONFIGURE_VARS += \
|
||||||
CONFIGURE_ARGS += \
|
CONFIGURE_ARGS += \
|
||||||
--enable-force-pf \
|
--enable-force-pf \
|
||||||
--enable-dynamic-link \
|
--enable-dynamic-link \
|
||||||
--prefix="$(PKG_INSTALL_DIR)/usr" \
|
|
||||||
--exec-prefix="$(PKG_INSTALL_DIR)/usr" \
|
|
||||||
--with-libpcap="$(STAGING_DIR)/usr"
|
--with-libpcap="$(STAGING_DIR)/usr"
|
||||||
|
|
||||||
define tcpreplayTemplate
|
define tcpreplayTemplate
|
||||||
|
|
Loading…
Reference in New Issue