archrelease: copy trunk to community-x86_64
[ArchLinux/community.git] / dpdk / trunk / PKGBUILD
blob158e06e47ad0e1b8f67f8e114014995ad29743b4
1 # Maintainer: Anatol Pomozov
3 pkgname=dpdk
4 pkgver=23.03
5 pkgrel=1
6 pkgdesc='A set of libraries and drivers for fast packet processing'
7 arch=(x86_64)
8 url='http://dpdk.org'
9 license=(BSD)
10 options=(staticlibs)
11 depends=(numactl libelf libpcap libbpf libbsd dtc jansson libarchive)
12 makedepends=(linux-headers python-pyelftools meson ninja)
13 source=(http://fast.dpdk.org/rel/dpdk-$pkgver.tar.xz)
14 sha256sums=('922067ad6b0a0daf934adf833fcdc29c5154837a4a1f6dc0ffbdcf6dab9edef5')
16 build() {
17   cd dpdk-$pkgver
18   CFLAGS+=' -ffat-lto-objects' \
19   meson build --prefix=/usr -Dplatform=generic
20   ninja -C build -j1
23 package() {
24   cd dpdk-$pkgver
25   DESTDIR="$pkgdir" ninja -C build install