[arch-commits] Commit in bcc/repos/community-x86_64 (PKGBUILD PKGBUILD)

Anatol Pomozov anatolik at archlinux.org
Thu Nov 5 21:49:20 UTC 2020


    Date: Thursday, November 5, 2020 @ 21:49:20
  Author: anatolik
Revision: 743526

archrelease: copy trunk to community-x86_64

Added:
  bcc/repos/community-x86_64/PKGBUILD
    (from rev 743525, bcc/trunk/PKGBUILD)
Deleted:
  bcc/repos/community-x86_64/PKGBUILD

----------+
 PKGBUILD |  174 ++++++++++++++++++++++++++++++-------------------------------
 1 file changed, 86 insertions(+), 88 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2020-11-05 21:49:10 UTC (rev 743525)
+++ PKGBUILD	2020-11-05 21:49:20 UTC (rev 743526)
@@ -1,88 +0,0 @@
-# Maintainer: Anatol Pomozov <anatol.pomozov at gmail.com>
-# Contributor: Gordian Edenhofer <gordian.edenhofer at gmail.com>
-# Contributor: Troy Engel <troyengel+arch at gmail.com>
-
-pkgbase=bcc
-pkgname=('bcc' 'bcc-tools' 'python-bcc')
-pkgver=0.16.0
-pkgrel=2
-pkgdesc='BPF Compiler Collection'
-arch=('x86_64')
-url='https://github.com/iovisor/bcc'
-license=('Apache')
-makedepends=('cmake' 'clang' 'llvm' 'flex' 'bison' 'python')
-checkdepends=('netperf' 'iperf')
-source=("bcc-$pkgver.tar.gz"::"https://github.com/iovisor/bcc/releases/download/v$pkgver/bcc-src-with-submodule.tar.gz")
-sha512sums=('ec2eec46ef45e96a269fe252de85734e12182bac839c7ee958852c6e7f4935b86f83536d6fd127933549f521d9b7af440544207818d5bd72a94567d41c6f3b75')
-
-build() {
-  mkdir -p bcc/build
-  cd bcc/build
-
-  # The python version is irrelevant at this stage
-  cmake -DREVISION=$pkgver \
-    -DCMAKE_INSTALL_PREFIX=/usr \
-    -DCMAKE_INSTALL_LIBDIR=/usr/lib ..
-
-  make
-}
-
-package_bcc() {
-  pkgdesc='BPF Compiler Collection - C library and examples'
-  depends=('clang' 'libelf')
-  optdepends=('linux-headers: build modules against the Arch kernel'
-    'linux-lts-headers: build modules against the LTS kernel'
-    'linux-zen-headers: build modules against the ZEN kernel'
-    'linux-hardened-headers: build modules against the HARDENED kernel'
-    'bcc-tools: Python utilites using the BCC library'
-    'python-bcc: Python 3 bindings for BCC')
-  provides=('bcc' 'libbcc')
-
-  cd bcc/build
-
-  # Install the kitchen sink
-  make DESTDIR="$pkgdir" install
-
-  # These go in a split package python*-bcc
-  rm -rf "$pkgdir"/usr/lib/python*
-
-  # These go in a split package bcc-tools
-  rm -rf "$pkgdir"/usr/share/bcc/{tools,man}
-}
-
-package_bcc-tools() {
-  pkgdesc='BPF Compiler Collection - Tools'
-  arch=('x86_64')
-  depends=('bcc' 'libedit' 'ethtool')
-  optdepends=(
-  	'python-bcc: Python 3 bindings for BCC'
-    'luajit: Lua bindings for BCC'
-  )
-
-  cd bcc/build
-
-  make -C tools DESTDIR="$pkgdir" install
-  make -C man DESTDIR="$pkgdir" install
-}
-
-package_python-bcc() {
-  pkgdesc='BPF Compiler Collection - Python 3 bindings'
-  arch=('x86_64')
-  depends=('bcc' 'python')
-  optdepends=(
-  	'python-netaddr: Network address representation and manipulation'
-    'python-pyroute2: Netlink and Linux network configuration'
-  )
-
-  cd bcc/build
-
-  # Force a quick python3 binding build (C library is already built)
-  cmake -DREVISION=$pkgver \
-    -DPYTHON_CMD="python" \
-    -DCMAKE_INSTALL_PREFIX=/usr \
-    -DCMAKE_INSTALL_LIBDIR=/usr/lib ..
-  make -C "src/python"
-
-  # Install just those bindings
-  make -C "src/python" DESTDIR="$pkgdir" install
-}

Copied: bcc/repos/community-x86_64/PKGBUILD (from rev 743525, bcc/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2020-11-05 21:49:20 UTC (rev 743526)
@@ -0,0 +1,86 @@
+# Maintainer: Anatol Pomozov <anatol.pomozov at gmail.com>
+# Contributor: Gordian Edenhofer <gordian.edenhofer at gmail.com>
+# Contributor: Troy Engel <troyengel+arch at gmail.com>
+
+pkgbase=bcc
+pkgname=('bcc' 'bcc-tools' 'python-bcc')
+pkgver=0.17.0
+pkgrel=1
+pkgdesc='BPF Compiler Collection'
+arch=('x86_64')
+url='https://github.com/iovisor/bcc'
+license=('Apache')
+makedepends=('cmake' 'clang' 'llvm' 'flex' 'bison' 'python')
+checkdepends=('netperf' 'iperf')
+source=("bcc-$pkgver.tar.gz"::"https://github.com/iovisor/bcc/releases/download/v$pkgver/bcc-src-with-submodule.tar.gz")
+sha512sums=('5e10e8404f4d0615cd0d57077a2c095ff6837b157edf627e738f0229e2b59a1c3e0c8ea0226b4560929b2fed6532f3ff4037a805fd13c36394ac3166b7423ca0')
+
+build() {
+  mkdir -p bcc/build
+  cd bcc/build
+
+  # The python version is irrelevant at this stage
+  cmake -DREVISION=$pkgver \
+    -DCMAKE_INSTALL_PREFIX=/usr \
+    -DCMAKE_INSTALL_LIBDIR=/usr/lib ..
+
+  make
+}
+
+package_bcc() {
+  pkgdesc='BPF Compiler Collection - C library and examples'
+  depends=('clang' 'libelf')
+  optdepends=('linux-headers: build modules against the Arch kernel'
+    'linux-lts-headers: build modules against the LTS kernel'
+    'linux-zen-headers: build modules against the ZEN kernel'
+    'linux-hardened-headers: build modules against the HARDENED kernel'
+    'bcc-tools: Python utilites using the BCC library'
+    'python-bcc: Python 3 bindings for BCC')
+  provides=('bcc' 'libbcc')
+
+  cd bcc/build
+
+  # Install the kitchen sink
+  make DESTDIR="$pkgdir" install
+
+  # These go in a split package python*-bcc
+  rm -rf "$pkgdir"/usr/lib/python*
+
+  # These go in a split package bcc-tools
+  rm -rf "$pkgdir"/usr/share/bcc/{tools,man}
+}
+
+package_bcc-tools() {
+  pkgdesc='BPF Compiler Collection - Tools'
+  depends=('bcc' 'libedit' 'ethtool')
+  optdepends=(
+  	'python-bcc: Python 3 bindings for BCC'
+    'luajit: Lua bindings for BCC'
+  )
+
+  cd bcc/build
+
+  make -C tools DESTDIR="$pkgdir" install
+  make -C man DESTDIR="$pkgdir" install
+}
+
+package_python-bcc() {
+  pkgdesc='BPF Compiler Collection - Python 3 bindings'
+  depends=('bcc' 'python')
+  optdepends=(
+  	'python-netaddr: Network address representation and manipulation'
+    'python-pyroute2: Netlink and Linux network configuration'
+  )
+
+  cd bcc/build
+
+  # Force a quick python3 binding build (C library is already built)
+  cmake -DREVISION=$pkgver \
+    -DPYTHON_CMD="python" \
+    -DCMAKE_INSTALL_PREFIX=/usr \
+    -DCMAKE_INSTALL_LIBDIR=/usr/lib ..
+  make -C "src/python"
+
+  # Install just those bindings
+  make -C "src/python" DESTDIR="$pkgdir" install
+}


More information about the arch-commits mailing list