void-packages/srcpkgs/libosmocore/template
Nathan Owens 7d99c6924d libosmocore: update distfile
Previous distfile location doesn't exist,
so update it to a working source

Signed-off-by: Nathan Owens <ndowens04@gmail.com>
2019-11-26 20:38:03 +01:00

29 lines
879 B
Bash

# Template file for 'libosmocore'
pkgname=libosmocore
version=1.2.0
revision=1
build_style=gnu-configure
configure_args="--exec-prefix=/usr --libexecdir=/usr/lib
--docdir=/usr/share/doc/libosmocore"
hostmakedepends="autoconf automake libtool git pkg-config python"
makedepends="pcsclite-devel talloc-devel gnutls-devel"
short_desc="Core libs for osmocom"
maintainer="Enno Boland <gottox@voidlinux.org>"
license="GPL-2.0-or-later"
homepage="https://bb.osmocom.org/trac/wiki/libosmocore"
distfiles="https://github.com/osmocom/libosmocore/archive/${version}.tar.gz"
checksum=74b8e0edb2a97eb3665f4004ed7b5c6a42c2e3f5fe29dcd5d474e7c4d1d11888
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"
}
}