5dd822e1dc
Closes: #12150 [via git-merge-pr]
30 lines
985 B
Bash
30 lines
985 B
Bash
# Template build file for 'libosmocore'
|
|
pkgname=libosmocore
|
|
version=0.10.2
|
|
revision=1
|
|
build_style=gnu-configure
|
|
short_desc="Core libs for osmocom"
|
|
maintainer="Enno Boland <gottox@voidlinux.eu>"
|
|
license="GPL-2"
|
|
hostmakedepends="autoconf automake libtool git pkg-config python"
|
|
makedepends="pcsclite-devel talloc-devel"
|
|
homepage="https://bb.osmocom.org/trac/wiki/libosmocore"
|
|
distfiles="https://git.osmocom.org/libosmocore/snapshot/libosmocore-$version.tar.xz"
|
|
checksum=8841b1d44b8e488cda078732b74f65e8d3ccc5c107e165fe4994d541a647798b
|
|
|
|
configure_args="--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/"
|
|
|
|
pre_configure() {
|
|
autoreconf -i
|
|
}
|
|
|
|
libosmocore-devel_package() {
|
|
depends="libosmocore>=${version}_${revision}"
|
|
short_desc+=" - development files"
|
|
pkg_install() {
|
|
vmove usr/include
|
|
vmove usr/lib/pkgconfig
|
|
vmove "usr/lib/*.so"
|
|
}
|
|
}
|