libosmocore-1.4.0.ebuild

This commit is contained in:
blshkv 2020-08-22 15:26:22 +08:00
parent 2ad64bc727
commit df52d8c34a
No known key found for this signature in database
GPG key ID: 32BDCED870788F04
2 changed files with 47 additions and 0 deletions

View file

@ -1,2 +1,3 @@
DIST libosmocore-1.3.1.tar.gz 1287754 BLAKE2B 71cc7db066d8686b39109ffe718b0348462c6dafc8a49e7c5b132e1688bec1b1d1292f3f8046a2f4bd76924f74353378a86a951193e27c3ef392433fcc8e783a SHA512 4bd8bf584ac58a00125969da43cba84aeb7b2d899a4616628f97f3cccb95918fe9c8aaae977c7bfa30f4316987f08ea4e312c3e32628fc4c392a2ce84ae9d392
DIST libosmocore-1.3.2.tar.gz 1287772 BLAKE2B 7cb70af46899135b91d268ae064eca2cb24a32d4ade62fb1d2a286c9e26ec77a673f755331ef789f5dde0b5238cf3e303edc026715030137e74b9a87c7f9d23e SHA512 c636f8966cec1353371a784c48e36baa63d8f0fdfadd2c88581e28ee534f681c6a0891d24a2bec0a6a814d82883d28fa31a823fa84ef827cc948b0cd71e929ae
DIST libosmocore-1.4.0.tar.gz 1238779 BLAKE2B c0fe37d4cdfb28836f0a93a4f095674583c4faeba93764102dcabde59b2b28681aff21886a5be2b5aabea55823b9a8d040c2a90b7e825ec53bcdbe8d12b08c03 SHA512 4d8e632cabc3ee42c47065a69c0b32ca18139ac7b6ce9ba0812ddb79b05b569a77d8f707e6872a332a0f485f2b1ab0f60a39b8daa08dfd5a0e69fce36b7d4989

View file

@ -0,0 +1,46 @@
# Copyright 1999-2020 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=6
inherit autotools
DESCRIPTION="Utility functions for OsmocomBB, OpenBSC and related projects"
HOMEPAGE="http://bb.osmocom.org/trac/wiki/libosmocore"
if [[ ${PV} == 9999* ]]; then
inherit git-r3
EGIT_REPO_URI="git://git.osmocom.org/${PN}.git"
KEYWORDS=""
else
# SRC_URI="http://cgit.osmocom.org/cgit/libosmocore/snapshot/${P}.tar.bz2"
SRC_URI="https://github.com/osmocom/libosmocore/archive/${PV}.tar.gz -> ${P}.tar.gz"
KEYWORDS="~amd64 ~arm ~x86"
fi
LICENSE="GPL-2 LGPL-3"
SLOT="0"
IUSE="pcsc-lite"
RDEPEND="net-misc/lksctp-tools
sys-libs/talloc
pcsc-lite? ( sys-apps/pcsc-lite )
"
DEPEND="${RDEPEND}
app-doc/doxygen
"
PATCHES=( "${FILESDIR}/${PN}-0.6.0-automake-1.13.patch" )
src_prepare() {
default_src_prepare
# set correct version in pkgconfig files
sed -i "s/UNKNOWN/${PV}/" git-version-gen || die
eautoreconf
}
src_configure() {
econf \
$(use_enable pcsc-lite pcsc)
}