29 lines
673 B
Bash
29 lines
673 B
Bash
# Copyright 1999-2013 Gentoo Foundation
|
|
# Distributed under the terms of the GNU General Public License v2
|
|
|
|
EAPI=5
|
|
|
|
inherit autotools-utils flag-o-matic
|
|
|
|
DESCRIPTION="A library for par2, extracted from par2cmdline"
|
|
HOMEPAGE="https://launchpad.net/libpar2/"
|
|
SRC_URI="https://launchpad.net/${PN}/trunk/${PV}/+download/${P}.tar.gz"
|
|
|
|
LICENSE="GPL-2"
|
|
SLOT="0"
|
|
KEYWORDS="amd64 ppc x86"
|
|
IUSE="static-libs"
|
|
|
|
RDEPEND="dev-libs/libsigc++:2"
|
|
DEPEND="${RDEPEND}
|
|
virtual/pkgconfig"
|
|
|
|
DOCS=( AUTHORS ChangeLog README )
|
|
|
|
# Needed to install all headers properly (bug #391815)
|
|
AUTOTOOLS_IN_SOURCE_BUILD=1
|
|
|
|
src_prepare() {
|
|
autotools-utils_src_prepare
|
|
append-cxxflags -std=c++11 #567498
|
|
}
|