mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-09-24 04:59:14 -07:00
sci-electronics/gsmc: Add missing libm (bug 503774). Thanks B. Leverett. Bump to EAPI=5
Package-Manager: portage-2.2.20.1
This commit is contained in:
@@ -1 +1 @@
|
||||
DIST gsmc-1.1.tar.gz 122726 RMD160 80406e224b485d24fe3d0505a8cb861f39b1fa31 SHA1 781f0c51ebe041419071703b8102e56536b47418 SHA256 3cd7fa7fb8712f878229e085ac8881bd829893da31dce96c3e98118798d63fda
|
||||
DIST gsmc-1.1.tar.gz 122726 SHA256 3cd7fa7fb8712f878229e085ac8881bd829893da31dce96c3e98118798d63fda SHA512 ea9db9e4917d82e0d9fa40318a971b63443611ab91b2321115d68fa4083de1879086e5c3392607347e3222fabb9efd5f8175ebb8cd122da479fac1ce7e2d9696 WHIRLPOOL bf49b49bcd8b7dd0f4f30b5f02ae913a821c83fd66e6c45c639d597e595aa950b581fc00ba62476406192a590ef0d9693a5ffa6da97e42c9216ee45ff257b55a
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
--- gsmc-1.1.orig/configure.ac 2011-01-12 18:14:55.633360421 -0200
|
||||
+++ gsmc-1.1/configure.ac 2011-01-12 19:58:12.617251642 -0200
|
||||
@@ -7,26 +7,13 @@
|
||||
--- configure.ac.orig 2015-09-07 16:25:35.000000000 +0200
|
||||
+++ configure.ac 2015-09-07 16:26:30.000000000 +0200
|
||||
@@ -7,26 +7,17 @@
|
||||
AM_INIT_AUTOMAKE(gsmc, 1.0, ik5nax@amsat.org)
|
||||
|
||||
# Checks for programs.
|
||||
@@ -27,12 +27,16 @@
|
||||
-done
|
||||
+PKG_PROG_PKG_CONFIG
|
||||
+PKG_CHECK_MODULES([GTK], [gtk+-2.0])
|
||||
+dnl Check for libm for floor
|
||||
+AC_SEARCH_LIBS([floor], [m], [], [
|
||||
+ AC_MSG_ERROR([unable to find the floor() function])
|
||||
+])
|
||||
|
||||
# Checks for header files.
|
||||
AC_HEADER_STDC
|
||||
|
||||
--- gsmc-1.1.orig/Makefile.am 2011-01-12 18:14:55.633360421 -0200
|
||||
+++ gsmc-1.1/Makefile.am 2011-01-12 20:37:21.034615478 -0200
|
||||
--- Makefile.am.orig 2011-01-12 18:14:55.633360421 -0200
|
||||
+++ Makefile.am 2011-01-12 20:37:21.034615478 -0200
|
||||
@@ -2,8 +2,8 @@
|
||||
|
||||
bin_PROGRAMS=gsmc
|
||||
|
||||
35
sci-electronics/gsmc/gsmc-1.1-r2.ebuild
Normal file
35
sci-electronics/gsmc/gsmc-1.1-r2.ebuild
Normal file
@@ -0,0 +1,35 @@
|
||||
# Copyright 1999-2015 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI="5"
|
||||
|
||||
inherit autotools eutils
|
||||
|
||||
DESCRIPTION="A GTK program for doing Smith Chart calculations"
|
||||
HOMEPAGE="http://www.qsl.net/ik5nax/"
|
||||
SRC_URI="http://www.qsl.net/ik5nax/${P}.tar.gz"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE=""
|
||||
|
||||
CDEPEND="
|
||||
dev-libs/glib:2
|
||||
x11-libs/gtk+:2"
|
||||
DEPEND="${CDEPEND}
|
||||
virtual/pkgconfig"
|
||||
RDEPEND="${CDEPEND}"
|
||||
|
||||
src_prepare() {
|
||||
epatch "${FILESDIR}/${P}-autotools.patch"
|
||||
eautoreconf
|
||||
}
|
||||
|
||||
src_install() {
|
||||
emake DESTDIR="${D}" install
|
||||
dodoc AUTHORS NEWS README TODO
|
||||
insinto /usr/share/${PN}
|
||||
doins example*
|
||||
}
|
||||
Reference in New Issue
Block a user