void-packages/srcpkgs/libosmocore/template

31 lines
963 B
Bash
Raw Normal View History

2014-04-23 09:57:01 +00:00
# Template build file for 'libosmocore'
pkgname=libosmocore
2015-11-05 11:31:03 +00:00
version=0.9.0
2015-08-02 12:33:58 +00:00
revision=1
2014-04-23 09:57:01 +00:00
build_style=gnu-configure
short_desc="Core libs for osmocom"
maintainer="Enno Boland <gottox@voidlinux.eu>"
license="GPL-2"
2015-01-19 22:45:22 +00:00
hostmakedepends="autoconf automake libtool git pkg-config"
makedepends="pcsclite-devel"
2014-04-23 10:46:25 +00:00
homepage="http://bb.osmocom.org/trac/wiki/libosmocore"
distfiles="http://cgit.osmocom.org/libosmocore/snapshot/libosmocore-$version.tar.xz"
2015-11-05 11:31:03 +00:00
checksum=8475902c3c18764ec49fdf737cbd755690e10704aaa4f0e956302f0ce7917328
2014-04-23 09:57:01 +00:00
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/"
2014-04-23 09:57:01 +00:00
pre_configure() {
autoreconf -i
2014-04-23 09:57:01 +00:00
}
libosmocore-devel_package() {
depends="libosmocore>=${version}_${revision}"
short_desc+=" - development files"
pkg_install() {
vmove usr/include
vmove usr/lib/pkgconfig
vmove "usr/lib/*.so"
}
}