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

Jan Steffens heftig at archlinux.org
Sat Sep 19 20:32:58 UTC 2015


    Date: Saturday, September 19, 2015 @ 22:32:58
  Author: heftig
Revision: 246702

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

Added:
  libteam/repos/staging-i686/
  libteam/repos/staging-i686/PKGBUILD
    (from rev 246701, libteam/trunk/PKGBUILD)
  libteam/repos/staging-x86_64/
  libteam/repos/staging-x86_64/PKGBUILD
    (from rev 246701, 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 246701, libteam/trunk/PKGBUILD)
===================================================================
--- staging-i686/PKGBUILD	                        (rev 0)
+++ staging-i686/PKGBUILD	2015-09-19 20:32:58 UTC (rev 246702)
@@ -0,0 +1,48 @@
+# $Id$
+# Maintainer: Jan Alexander Steffens (heftig) <jan.steffens at gmail.com>
+
+pkgname=libteam
+pkgver=1.18
+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=('9f1f7a830331f50a5d67365fba7c8ab8db677350f101420a12255152e6058737')
+
+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 246701, libteam/trunk/PKGBUILD)
===================================================================
--- staging-x86_64/PKGBUILD	                        (rev 0)
+++ staging-x86_64/PKGBUILD	2015-09-19 20:32:58 UTC (rev 246702)
@@ -0,0 +1,48 @@
+# $Id$
+# Maintainer: Jan Alexander Steffens (heftig) <jan.steffens at gmail.com>
+
+pkgname=libteam
+pkgver=1.18
+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=('9f1f7a830331f50a5d67365fba7c8ab8db677350f101420a12255152e6058737')
+
+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