mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2026-05-05 20:36:40 +02:00
testing/belr: new aport
This commit is contained in:
parent
78b5a858fe
commit
bce6c5f52f
38
testing/belr/APKBUILD
Normal file
38
testing/belr/APKBUILD
Normal file
@ -0,0 +1,38 @@
|
||||
# Contributor: Francesco Colista <fcolista@alpinelinux.org>
|
||||
# Maintainer: Francesco Colista <fcolista@alpinelinux.org>
|
||||
pkgname="belr"
|
||||
pkgver="0.1.3"
|
||||
_pkgver=${pkgver}-0
|
||||
pkgrel=0
|
||||
pkgdesc="ABNF Parser"
|
||||
url="https://www.linphone.org"
|
||||
arch="all"
|
||||
license="GPL-3.0-or-later"
|
||||
options="!check" # not test available
|
||||
makedepends="cmake bctoolbox-dev eudev-dev"
|
||||
subpackages="$pkgname-dev"
|
||||
source="https://www.linphone.org/releases/sources/${pkgname}/${pkgname}-${pkgver}.tar.gz"
|
||||
builddir="$srcdir/$pkgname-$_pkgver"
|
||||
|
||||
build() {
|
||||
cmake \
|
||||
-DCMAKE_INSTALL_PREFIX=/usr \
|
||||
-DCMAKE_INSTALL_LIBDIR=lib \
|
||||
-DCMAKE_MODULE_PATH=/usr/lib/cmake \
|
||||
-DENABLE_STRICT=NO \
|
||||
-DENABLE_SHARED=YES \
|
||||
-DENABLE_STATIC=NO .
|
||||
make
|
||||
}
|
||||
|
||||
package() {
|
||||
make DESTDIR="$pkgdir" install
|
||||
}
|
||||
|
||||
dev() {
|
||||
default_dev
|
||||
mkdir -p "$subpkgdir"/usr/lib/cmake/Belr
|
||||
mv "$pkgdir"/usr/share/Belr/cmake/* "$subpkgdir"/usr/lib/cmake/Belr
|
||||
}
|
||||
|
||||
sha512sums="9ce7a3d1c4de8241b6a6ba10d53483070940e4652577dd6afc63cbf850bd3ab14ff8aba6702a903eba6098cbfbd9be5e57e9690ca45fe2d50ecebf3bccf86e16 belr-0.1.3.tar.gz"
|
||||
Loading…
x
Reference in New Issue
Block a user