[arch-commits] Commit in libteam/repos (4 files)

Evangelos Foutras foutrelis at archlinux.org
Sat Dec 24 11:02:51 UTC 2016


    Date: Saturday, December 24, 2016 @ 11:02:51
  Author: foutrelis
Revision: 284587

archrelease: copy trunk to staging-i686, staging-x86_64

Added:
  libteam/repos/staging-i686/
  libteam/repos/staging-i686/PKGBUILD
    (from rev 284586, libteam/trunk/PKGBUILD)
  libteam/repos/staging-x86_64/
  libteam/repos/staging-x86_64/PKGBUILD
    (from rev 284586, libteam/trunk/PKGBUILD)

-------------------------+
 staging-i686/PKGBUILD   |   48 ++++++++++++++++++++++++++++++++++++++++++++++
 staging-x86_64/PKGBUILD |   48 ++++++++++++++++++++++++++++++++++++++++++++++
 2 files changed, 96 insertions(+)

Copied: libteam/repos/staging-i686/PKGBUILD (from rev 284586, libteam/trunk/PKGBUILD)
===================================================================
--- staging-i686/PKGBUILD	                        (rev 0)
+++ staging-i686/PKGBUILD	2016-12-24 11:02:51 UTC (rev 284587)
@@ -0,0 +1,48 @@
+# $Id$
+# Maintainer: Jan Alexander Steffens (heftig) <jan.steffens at gmail.com>
+
+pkgname=libteam
+pkgver=1.23
+pkgrel=2
+pkgdesc="Library for controlling team network device"
+arch=(i686 x86_64)
+url="http://libteam.org/"
+license=(LGPL2.1)
+depends=(libnl libdaemon jansson libdbus bash zeromq)
+makedepends=(python python2 swig)
+source=($url/files/$pkgname-$pkgver.tar.gz)
+sha256sums=('d8cd132c425032cc3a7e9314c55485e32243875e0b1adbddd043bbadf1d28c5a')
+
+build() {
+  cd $pkgname-$pkgver
+  ./configure --prefix=/usr --sysconfdir=/etc --localstatedir=/var \
+    --disable-static --libexecdir=/usr/lib
+  make
+
+  cp -aT binding/python binding/python2
+
+  cd binding/python
+  python  ./setup.py build
+  cd ../python2
+  python2 ./setup.py build
+}
+
+check() {
+  cd $pkgname-$pkgver
+  make check
+}
+
+package() {
+  cd $pkgname-$pkgver
+  make DESTDIR="$pkgdir" install
+
+  install -Dm644 teamd/redhat/systemd/teamd at .service \
+    "$pkgdir/usr/lib/systemd/system/teamd at .service"
+  install -Dm644 teamd/dbus/teamd.conf \
+    "$pkgdir/etc/dbus-1/system.d/teamd.conf"
+
+  cd binding/python
+  python  ./setup.py install --root "$pkgdir" -O1
+  cd ../python2
+  python2 ./setup.py install --root "$pkgdir" -O1
+}

Copied: libteam/repos/staging-x86_64/PKGBUILD (from rev 284586, libteam/trunk/PKGBUILD)
===================================================================
--- staging-x86_64/PKGBUILD	                        (rev 0)
+++ staging-x86_64/PKGBUILD	2016-12-24 11:02:51 UTC (rev 284587)
@@ -0,0 +1,48 @@
+# $Id$
+# Maintainer: Jan Alexander Steffens (heftig) <jan.steffens at gmail.com>
+
+pkgname=libteam
+pkgver=1.23
+pkgrel=2
+pkgdesc="Library for controlling team network device"
+arch=(i686 x86_64)
+url="http://libteam.org/"
+license=(LGPL2.1)
+depends=(libnl libdaemon jansson libdbus bash zeromq)
+makedepends=(python python2 swig)
+source=($url/files/$pkgname-$pkgver.tar.gz)
+sha256sums=('d8cd132c425032cc3a7e9314c55485e32243875e0b1adbddd043bbadf1d28c5a')
+
+build() {
+  cd $pkgname-$pkgver
+  ./configure --prefix=/usr --sysconfdir=/etc --localstatedir=/var \
+    --disable-static --libexecdir=/usr/lib
+  make
+
+  cp -aT binding/python binding/python2
+
+  cd binding/python
+  python  ./setup.py build
+  cd ../python2
+  python2 ./setup.py build
+}
+
+check() {
+  cd $pkgname-$pkgver
+  make check
+}
+
+package() {
+  cd $pkgname-$pkgver
+  make DESTDIR="$pkgdir" install
+
+  install -Dm644 teamd/redhat/systemd/teamd at .service \
+    "$pkgdir/usr/lib/systemd/system/teamd at .service"
+  install -Dm644 teamd/dbus/teamd.conf \
+    "$pkgdir/etc/dbus-1/system.d/teamd.conf"
+
+  cd binding/python
+  python  ./setup.py install --root "$pkgdir" -O1
+  cd ../python2
+  python2 ./setup.py install --root "$pkgdir" -O1
+}



More information about the arch-commits mailing list