summaryrefslogtreecommitdiff
path: root/pcr/libosmocore
diff options
context:
space:
mode:
authorDenis 'GNUtoo' Carikli <GNUtoo@cyberdimension.org>2019-04-14 16:56:58 +0200
committerDenis 'GNUtoo' Carikli <GNUtoo@cyberdimension.org>2019-04-14 16:57:15 +0200
commitece2d85cef31cbcd6661ae6ad263fa71b7d37007 (patch)
tree2f064710bcb1cb27cc869100ab040baffa3947b3 /pcr/libosmocore
parentde7ae530b38128925d9551d3f4c511b9541802b0 (diff)
downloadabslibre-ece2d85cef31cbcd6661ae6ad263fa71b7d37007.tar.gz
abslibre-ece2d85cef31cbcd6661ae6ad263fa71b7d37007.tar.bz2
abslibre-ece2d85cef31cbcd6661ae6ad263fa71b7d37007.zip
pcr: Add libosmocore
This has been imported from https://aur.archlinux.org/libosmocore.git at this commit: 29e3468 Version 1.0.1 Signed-off-by: Denis 'GNUtoo' Carikli <GNUtoo@cyberdimension.org>
Diffstat (limited to 'pcr/libosmocore')
-rw-r--r--pcr/libosmocore/PKGBUILD30
1 files changed, 30 insertions, 0 deletions
diff --git a/pcr/libosmocore/PKGBUILD b/pcr/libosmocore/PKGBUILD
new file mode 100644
index 000000000..beb59ab04
--- /dev/null
+++ b/pcr/libosmocore/PKGBUILD
@@ -0,0 +1,30 @@
+# Maintainer (AUR): Dominik Heidler <dominik@heidler.eu>
+
+pkgname=libosmocore
+pkgver=1.0.1
+pkgrel=1
+pkgdesc="core libs for osmocom"
+arch=('x86_64' 'i686')
+url="http://bb.osmocom.org/trac/wiki/libosmocore"
+license=('GPL')
+groups=()
+provides=()
+depends=('pcsclite')
+makedepends=('autoconf' 'automake' 'make' 'gcc' 'libtool' 'git' 'pkg-config' 'talloc')
+
+source=("git://git.osmocom.org/libosmocore.git#tag=$pkgver")
+md5sums=('SKIP')
+
+build() {
+ cd "$srcdir/$pkgname"
+
+ autoreconf -i
+ ./configure --prefix=/usr --exec-prefix=/usr --bindir=/usr/bin --sbindir=/usr/sbin --datadir=/usr/share \
+ --libexecdir=/usr/lib --localstatedir=/var --docdir=/usr/share/doc/libosmocore --libdir=/usr/lib/
+ make
+}
+
+package() {
+ cd "$srcdir/$pkgname"
+ make DESTDIR=$pkgdir install
+}