summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 50ee5529e21d940ed12e13675b6074b0b3242139 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
# Maintainer: Vadim Yanitskiy <fixeria@osmocom.org>
# Contributor: Josef Miegl <josef@miegl.cz>
# Contributor: Yuval Adam <yuval at y3xz dot com> PGP-Key: 271386AA2EB7672F

pkgname=libosmo-sccp
pkgver=1.9.0
pkgrel=1
pkgdesc="Osmocom library for SCCP"
arch=('any')
url="https://osmocom.org/projects/libosmo-sccp"
license=('GPL-2.0-or-later')
# TODO: libosmocore>=1.9.0 libosmo-netif>=1.4.0
depends=('libosmocore' 'libosmo-netif')
provides=("libosmo-sigtran.so=10-64")
conflicts=("${pkgname}-git")
backup=('etc/osmocom/osmo-stp.cfg')
source=("https://downloads.osmocom.org/releases/${pkgname}/${pkgname}-${pkgver}.tar.bz2")
sha256sums=('b6c219e57c79bda9eb0edb7eae64ba01b952126ecb48b6a6667e4fce21f977a9')

build() {
  cd "${srcdir}/${pkgname}-${pkgver}"
  ./configure \
    --prefix=/usr \
    --sysconfdir=/etc
  make
}

check() {
  cd "${srcdir}/${pkgname}-${pkgver}"
  make check
}

package() {
  cd "${srcdir}/${pkgname}-${pkgver}"
  make DESTDIR=$pkgdir install
}

# vim:set ts=2 sw=2 et: