libosmocore: use http download instead of git; style fixes.

This commit is contained in:
Enno Boland 2015-07-25 20:54:31 +02:00
parent 6d5dadd88c
commit 5750e28455
1 changed files with 7 additions and 12 deletions

View File

@ -1,27 +1,22 @@
# Template build file for 'libosmocore' # Template build file for 'libosmocore'
pkgname=libosmocore pkgname=libosmocore
version=0.8.0 version=0.8.0
revision=1 revision=2
build_style=gnu-configure build_style=gnu-configure
short_desc="core libs for osmocom" short_desc="Core libs for osmocom"
maintainer="Enno Boland <eb@s01.de>" maintainer="Enno Boland <eb@s01.de>"
license="GPL" license="GPL-2"
hostmakedepends="autoconf automake libtool git pkg-config" hostmakedepends="autoconf automake libtool git pkg-config"
makedepends="pcsclite-devel" makedepends="pcsclite-devel"
homepage="http://bb.osmocom.org/trac/wiki/libosmocore" homepage="http://bb.osmocom.org/trac/wiki/libosmocore"
_giturl=git://git.osmocom.org/libosmocore.git 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 \ 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/" --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() { pre_configure() {
autoreconf -i autoreconf -i
} }
libosmocore-devel_package() { libosmocore-devel_package() {