summaryrefslogtreecommitdiffstats
path: root/bctoolbox
diff options
context:
space:
mode:
Diffstat (limited to 'bctoolbox')
-rw-r--r--bctoolbox/PKGBUILD28
1 files changed, 28 insertions, 0 deletions
diff --git a/bctoolbox/PKGBUILD b/bctoolbox/PKGBUILD
new file mode 100644
index 0000000..6188384
--- /dev/null
+++ b/bctoolbox/PKGBUILD
@@ -0,0 +1,28 @@
+# $Id$
+# Maintainer:
+# Contributor: Guillaume Horel <guillaume.horel@gmail.com>
+
+pkgname=bctoolbox
+pkgver=0.2.0
+pkgrel=1
+pkgdesc="Utilities library for Belledonne Communications software"
+arch=('i686' 'x86_64')
+url="http://www.linphone.org/"
+license=('GPL')
+depends=()
+makedepends=('bcunit')
+source=("https://github.com/BelledonneCommunications/$pkgname/archive/$pkgver.tar.gz")
+md5sums=('6c04712c62919a5fe200cf3377027c89')
+
+build() {
+ cd "${srcdir}"
+ mkdir build
+ cd build
+ cmake -DENABLE_TESTS_COMPONENT="OFF" -DCMAKE_INSTALL_LIBDIR="/usr/lib" -DCMAKE_INSTALL_PREFIX="/usr" "../$pkgname-$pkgver"
+ make
+}
+
+package() {
+ cd "${srcdir}/build"
+ make DESTDIR="${pkgdir}" install
+}