2014-04-23 11:57:01 +02:00
|
|
|
# Template build file for 'libosmocore'
|
|
|
|
pkgname=libosmocore
|
|
|
|
version=0.6.6
|
2014-04-23 12:46:25 +02:00
|
|
|
revision=2
|
2014-04-23 11:57:01 +02:00
|
|
|
build_style=gnu-configure
|
2014-07-27 16:05:16 +02:00
|
|
|
hostmakedepends="git"
|
2014-04-23 11:57:01 +02:00
|
|
|
short_desc="core libs for osmocom"
|
|
|
|
maintainer="Enno Boland <eb@s01.de>"
|
|
|
|
license="GPL"
|
|
|
|
hostmakedepends="autoconf automake libtool git"
|
2014-04-23 12:46:25 +02:00
|
|
|
homepage="http://bb.osmocom.org/trac/wiki/libosmocore"
|
2014-04-23 11:57:01 +02:00
|
|
|
_giturl=git://git.osmocom.org/libosmocore.git
|
|
|
|
|
|
|
|
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/"
|
|
|
|
|
|
|
|
do_fetch() {
|
|
|
|
git clone $_giturl ${pkgname}-${version}
|
|
|
|
cd ${pkgname}-${version}
|
|
|
|
git checkout $version
|
|
|
|
}
|
|
|
|
|
|
|
|
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"
|
|
|
|
}
|
|
|
|
}
|