32 lines
975 B
Bash
32 lines
975 B
Bash
# Template build file for 'libosmocore'
|
|
pkgname=libosmocore
|
|
version=0.8.0
|
|
revision=2
|
|
build_style=gnu-configure
|
|
short_desc="Core libs for osmocom"
|
|
maintainer="Enno Boland <eb@s01.de>"
|
|
license="GPL-2"
|
|
hostmakedepends="autoconf automake libtool git pkg-config"
|
|
makedepends="pcsclite-devel"
|
|
homepage="http://bb.osmocom.org/trac/wiki/libosmocore"
|
|
distfiles="http://cgit.osmocom.org/libosmocore/snapshot/libosmocore-$version.tar.xz"
|
|
checksum=af98572d381a674fb639319c1a603715e1a8d1188ec4c278d3b4e6af92c9269d
|
|
|
|
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/*.a"
|
|
vmove "usr/lib/*.so"
|
|
}
|
|
}
|