You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
gentoo-overlay/sci-calculators/keurocalc/keurocalc-1.2.3.ebuild

33 lines
940 B

# Copyright 1999-2015 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/sci-calculators/keurocalc/keurocalc-1.2.3.ebuild,v 1.3 2015/03/25 13:57:06 ago Exp $
EAPI=5
KDE_LINGUAS="bg bs ca ca@valencia cs da de el en_GB es et fi fr ga gl hu it
ja ko nb nds nl pl pt pt_BR ru sk sl sr sr@Latn sv tr ug uk zh_TW"
KDE_HANDBOOK="optional"
inherit kde4-base
DESCRIPTION="A universal currency converter and calculator"
HOMEPAGE="http://opensource.bureau-cornavin.com/keurocalc/index.html"
SRC_URI="http://opensource.bureau-cornavin.com/keurocalc/sources/${P}.tgz"
LICENSE="GPL-2+ FDL-1.2"
SLOT="4"
KEYWORDS="amd64 x86"
IUSE="debug"
DOCS=( AUTHORS TODO )
src_prepare() {
# bug 500560
sed -e "s/PO_FILES //" -i po/*/CMakeLists.txt || die
# bug 518070
sed -e "/cmake_minimum_required/a cmake_policy(SET CMP0002 OLD)" \
-i CMakeLists.txt || die
kde4-base_src_prepare
}