summaryrefslogtreecommitdiffstats
path: root/build/external/rpm
diff options
context:
space:
mode:
authorDamjan Marion <damarion@cisco.com>2018-09-18 18:41:38 +0200
committerDamjan Marion <damarion@cisco.com>2018-09-20 14:30:54 +0200
commit4a6cb83d334e391f85332ea38a2e467ac7743e4b (patch)
tree7d667a9d07c33e1a948f73892169f61da595ca4f /build/external/rpm
parent9c0a3c423ee0b9326f600a00c1bd46fef45d4975 (diff)
rename vpp-dpdk-dev to vpp-ext-deps
We need to have new tenants in the development package. This is first of series of patches which will allow us to have multiple external libs and tools packaged for developer's convenience. Change-Id: I884bd75fba96005bbf8cea92774682b2228e0e22 Signed-off-by: Damjan Marion <damarion@cisco.com>
Diffstat (limited to 'build/external/rpm')
-rw-r--r--build/external/rpm/vpp-ext-deps.spec18
1 files changed, 18 insertions, 0 deletions
diff --git a/build/external/rpm/vpp-ext-deps.spec b/build/external/rpm/vpp-ext-deps.spec
new file mode 100644
index 00000000000..c79ae1205bc
--- /dev/null
+++ b/build/external/rpm/vpp-ext-deps.spec
@@ -0,0 +1,18 @@
+%define _install_dir /opt/vpp/external/%(uname -m)
+%define _make_args -C ../.. DPDK_BUILD_DIR=%{_topdir}/tmp DPDK_INSTALL_DIR=%{buildroot}/%{_install_dir}
+
+Name: vpp-ext-deps
+Version: %{_version}
+Release: %{_release}
+Summary: VPP development package with external dependencies
+License: BSD
+
+%description
+VPP development package with external dependencies
+
+%install
+make %{_make_args} config
+make %{_make_args} install
+
+%files
+%{_install_dir}