diff options
author | Rick Farina <zerochaos@gentoo.org> | 2014-07-25 23:38:33 +0000 |
---|---|---|
committer | Rick Farina <zerochaos@gentoo.org> | 2014-07-25 23:38:33 +0000 |
commit | 47298aff9301f50ae91aab00cdb4436744c67dcb (patch) | |
tree | c1a9f2e1a855607c9fe81a8ad55a22a522fc4bb2 | |
parent | Added EHG_CHECKOUT_DIR to override checkout destination (diff) | |
download | gentoo-2-47298aff9301f50ae91aab00cdb4436744c67dcb.tar.gz gentoo-2-47298aff9301f50ae91aab00cdb4436744c67dcb.tar.bz2 gentoo-2-47298aff9301f50ae91aab00cdb4436744c67dcb.zip |
cleanups, build fixes, and stable release. not pretty, but works
(Portage version: 2.2.10/cvs/Linux x86_64, signed Manifest commit with key DD11F94A)
-rw-r--r-- | net-wireless/yatebts/ChangeLog | 9 | ||||
-rw-r--r-- | net-wireless/yatebts/files/yatebts-4.0.0-dont-mess-with-cflags.patch | 13 | ||||
-rw-r--r-- | net-wireless/yatebts/yatebts-4.0.0.ebuild | 47 | ||||
-rw-r--r-- | net-wireless/yatebts/yatebts-9999.ebuild | 23 |
4 files changed, 86 insertions, 6 deletions
diff --git a/net-wireless/yatebts/ChangeLog b/net-wireless/yatebts/ChangeLog index 833271d6cbf6..35723c2b10a3 100644 --- a/net-wireless/yatebts/ChangeLog +++ b/net-wireless/yatebts/ChangeLog @@ -1,6 +1,13 @@ # ChangeLog for net-wireless/yatebts # Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/net-wireless/yatebts/ChangeLog,v 1.1 2014/04/28 02:46:36 zx2c4 Exp $ +# $Header: /var/cvsroot/gentoo-x86/net-wireless/yatebts/ChangeLog,v 1.2 2014/07/25 23:38:33 zerochaos Exp $ + +*yatebts-4.0.0 (25 Jul 2014) + + 25 Jul 2014; Rick Farina <zerochaos@gentoo.org> + +files/yatebts-4.0.0-dont-mess-with-cflags.patch, +yatebts-4.0.0.ebuild, + yatebts-9999.ebuild: + cleanups, build fixes, and stable release. not pretty, but works *yatebts-9999 (28 Apr 2014) diff --git a/net-wireless/yatebts/files/yatebts-4.0.0-dont-mess-with-cflags.patch b/net-wireless/yatebts/files/yatebts-4.0.0-dont-mess-with-cflags.patch new file mode 100644 index 000000000000..b10eb57237ef --- /dev/null +++ b/net-wireless/yatebts/files/yatebts-4.0.0-dont-mess-with-cflags.patch @@ -0,0 +1,13 @@ +diff -Naur yate-bts/configure.in yate-bts-sane/configure.in +--- yate-bts/configure.in 2014-07-25 10:28:44.000000000 -0400 ++++ yate-bts-sane/configure.in 2014-07-25 17:38:23.550069064 -0400 +@@ -36,9 +36,6 @@ + AC_PROG_CC + AC_PROG_AWK + +-# Delete -g as we handle debug info at build time +-CFLAGS=`echo "$CFLAGS" | sed 's/-g[[0-9]]* *//' 2>/dev/null` +- + # Helper to check by pkgconfig including local paths + function pkgconfig_check() + { diff --git a/net-wireless/yatebts/yatebts-4.0.0.ebuild b/net-wireless/yatebts/yatebts-4.0.0.ebuild new file mode 100644 index 000000000000..e9765ba7d6a5 --- /dev/null +++ b/net-wireless/yatebts/yatebts-4.0.0.ebuild @@ -0,0 +1,47 @@ +# Copyright 1999-2014 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/net-wireless/yatebts/yatebts-4.0.0.ebuild,v 1.1 2014/07/25 23:38:33 zerochaos Exp $ + +EAPI=5 + +inherit eutils autotools + +DESCRIPTION="The Yate GSM base station" +HOMEPAGE="http://www.yatebts.com/" +ESVN_REPO_URI="http://voip.null.ro/svn/yatebts/trunk" + +LICENSE="GPL-2" +SLOT="0" +IUSE="rad1 usrp1 uhd bladerf sse3 sse4_1" + +RDEPEND=" + >=net-voip/yate-5.4.0[gsm] + uhd? ( net-wireless/uhd ) + virtual/libusb:1" +DEPEND="virtual/pkgconfig + ${RDEPEND}" + +if [[ ${PV} == "9999" ]] ; then + inherit subversion + KEYWORDS="" +else + KEYWORDS="~amd64 ~x86" + SRC_URI="http://yate.null.ro/tarballs/${PN}4/yate-bts-${PV}-1.tar.gz" + S="${WORKDIR}/yate-bts" +fi + +src_prepare() { + epatch "${FILESDIR}"/${P}-dont-mess-with-cflags.patch + eautoreconf +} + +src_configure() { + econf \ + $(use_enable rad1) \ + $(use_enable usrp1) \ + $(use_enable uhd) \ + $(use_enable bladerf) \ + $(use_enable sse3) \ + $(use_enable sse4_1 sse41) + +} diff --git a/net-wireless/yatebts/yatebts-9999.ebuild b/net-wireless/yatebts/yatebts-9999.ebuild index 2f9ff379fa5e..3edc933d7cea 100644 --- a/net-wireless/yatebts/yatebts-9999.ebuild +++ b/net-wireless/yatebts/yatebts-9999.ebuild @@ -1,10 +1,10 @@ # Copyright 1999-2014 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/net-wireless/yatebts/yatebts-9999.ebuild,v 1.1 2014/04/28 02:46:36 zx2c4 Exp $ +# $Header: /var/cvsroot/gentoo-x86/net-wireless/yatebts/yatebts-9999.ebuild,v 1.2 2014/07/25 23:38:33 zerochaos Exp $ EAPI=5 -inherit subversion autotools +inherit eutils autotools DESCRIPTION="The Yate GSM base station" HOMEPAGE="http://www.yatebts.com/" @@ -12,16 +12,29 @@ ESVN_REPO_URI="http://voip.null.ro/svn/yatebts/trunk" LICENSE="GPL-2" SLOT="0" -KEYWORDS="" IUSE="rad1 usrp1 uhd bladerf sse3 sse4_1" RDEPEND=" - net-voip/yate[gsm] + >=net-voip/yate-5.4.0[gsm] uhd? ( net-wireless/uhd ) virtual/libusb:1" -DEPEND="virtual/pkgconfig ${RDEPEND}" +DEPEND="virtual/pkgconfig + ${RDEPEND}" + +if [[ ${PV} == "9999" ]] ; then + inherit subversion + KEYWORDS="" +else + KEYWORDS="~amd64 ~x86" + SRC_URI="http://yate.null.ro/tarballs/${PN}4/yate-bts-${PV}-1.tar.gz" + S="${WORKDIR}/yate-bts" +fi src_prepare() { + #we need more patches or configure flags because things install in really wrong places per FHS + + #this prevents build failure, but does not actually pass QA checks + epatch "${FILESDIR}"/${PN}-4.0.0-dont-mess-with-cflags.patch eautoreconf } |