void-packages/srcpkgs/libosmocore/template
2016-10-07 23:24:51 +02:00

30 lines
962 B
Bash

# Template build file for 'libosmocore'
pkgname=libosmocore
version=0.9.0
revision=2
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"
makedepends="pcsclite-devel"
homepage="http://bb.osmocom.org/trac/wiki/libosmocore"
distfiles="http://git.osmocom.org/libosmocore/snapshot/libosmocore-$version.tar.xz"
checksum=84220dcf47439a55fbe01d4c491e8b2f9436ad7d5e13b46f72b5181ba75bbd02
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"
}
}