mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-11-09 06:37:10 -08:00
dev-cpp/muParser: drop old
Package-Manager: Portage-2.3.51, Repoman-2.3.12 Signed-off-by: Matthias Maier <tamiko@gentoo.org>
This commit is contained in:
@@ -1,2 +1 @@
|
||||
DIST muParser-2.2.5.tar.gz 761315 BLAKE2B ddb7a226cecd164929a2f45ca0c2a5d20f37cd6bba2fca919c9e534017fa087523311bade8a7be4a5a011ecd5dec0a2496ff08354d2010341bccf2e2a8276c1d SHA512 d89380ebdc0ce91d0ea38fe43419ab6ed06c47d352b9ee20e1edcce48337b464366153493e0241c373ba2880a8b419fb9541e56cda0d14915daf9b98136ee682
|
||||
DIST muparser_v2_2_3.zip 1481359 BLAKE2B fcd9326619d28f0ea9e22cd6d85f8e620a18ad38561ceb026f024d80594d7d13a4772b3087df87d94ec3a1d3a80ce38a56f3dadc86b1011d9eafe7949d27be13 SHA512 86d140c07161757e2f0de516a4c2922ce5b135d06b01466bc15ad90833bd3e9f99b9b9c528617262597a7a5a6b09bff5ae8ced5d51c413ea611059e0bdb22e6d
|
||||
|
||||
@@ -1,49 +0,0 @@
|
||||
# Copyright 1999-2013 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=5
|
||||
|
||||
inherit eutils
|
||||
|
||||
MYPN=${PN/P/p}
|
||||
MYP=${MYPN}_v${PV//./_}
|
||||
|
||||
DESCRIPTION="Library for parsing mathematical expressions"
|
||||
HOMEPAGE="http://muparser.beltoforion.de/"
|
||||
SRC_URI="mirror://sourceforge/${MYPN}/${MYP}.zip"
|
||||
|
||||
LICENSE="MIT"
|
||||
SLOT="0"
|
||||
KEYWORDS="amd64 ~ppc ~ppc64 x86 ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos"
|
||||
IUSE="doc test"
|
||||
|
||||
RDEPEND=""
|
||||
DEPEND="app-arch/unzip"
|
||||
|
||||
S="${WORKDIR}/${MYP}"
|
||||
|
||||
src_prepare() {
|
||||
epatch "${FILESDIR}"/${PN}-1.32-parallel-build.patch
|
||||
sed -i \
|
||||
-e 's:-O2::g' \
|
||||
configure || die
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
econf $(use_enable test samples)
|
||||
}
|
||||
|
||||
src_test() {
|
||||
cat > test.sh <<- EOFTEST
|
||||
LD_LIBRARY_PATH=${S}/lib samples/example1/example1 <<- EOF
|
||||
quit
|
||||
EOF
|
||||
EOFTEST
|
||||
sh ./test.sh || die "test failed"
|
||||
}
|
||||
|
||||
src_install() {
|
||||
default
|
||||
dodoc Changes.txt
|
||||
use doc && dohtml -r docs/html/*
|
||||
}
|
||||
Reference in New Issue
Block a user