gr-gsm: initial ebuild

This commit is contained in:
blshkv 2016-07-24 16:20:26 +08:00
parent b170e5caf7
commit 049fdd7ff2
No known key found for this signature in database
GPG key ID: 9CCF6FCB8D8A14BF

View file

@ -0,0 +1,37 @@
# Copyright 1999-2016 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$
EAPI=5
PYTHON_COMPAT=( python2_7 )
inherit python-single-r1 cmake-utils git-r3
DESCRIPTION="Set of tools for receiving information transmitted by GSM equipment/devices"
HOMEPAGE="https://github.com/ptrkrysik/gr-gsm"
EGIT_REPO_URI="https://github.com/ptrkrysik/gr-gsm.git"
KEYWORDS=""
LICENSE="GPL-3"
SLOT="0"
IUSE="doc"
DEPEND=">=net-wireless/gnuradio-3.7.0:=
dev-util/cppunit
net-libs/libosmocore"
RDEPEND="${DEPEND}"
src_prepare() {
sed -i "s|gr-grgsm|gr-gsm|g" CMakeLists.txt
#fixme below
sed -i "s|\${GR_DOC_DIR}\/\${CMAKE_PROJECT_NAME}|${EPREFIX}/usr/share/doc/${PF}|g" CMakeLists.txt
}
#Fixme: GR_PKG_DOC_DIR is not getting set
# -DGR_PKG_DOC_DIR="${EPREFIX}/usr/share/doc/${PF}"
src_configure() {
mycmakeargs=(
$(cmake-utils_use_enable doc DOXYGEN) \
)
cmake-utils_src_configure
}