Skip to content

Commit

Permalink
sci-libs/metis: Produce standard pkg-config file
Browse files Browse the repository at this point in the history
Gentoo-bug: 588148

Package-Manager: portage-2.2.28
Patch by Viacheslav Ostroukh
Closes: gentoo#2069

Signed-off-by: David Seifert <[email protected]>
  • Loading branch information
g-braeunlich authored and SoapGentoo committed Aug 11, 2016
1 parent 77e2526 commit 256a394
Showing 1 changed file with 7 additions and 7 deletions.
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Copyright 1999-2015 Gentoo Foundation
# Copyright 1999-2016 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$

Expand Down Expand Up @@ -55,16 +55,16 @@ src_test() {

src_install() {
cat >> "${T}"/metis.pc <<- EOF
prefix="${EPREFIX}"/usr
exec_prefix="${EPREFIX}"/usr
libdir="${EPREFIX}"/usr/$(get_libdir)
includedir="${EPREFIX}"/usr/include
prefix=${EPREFIX}/usr
exec_prefix=\${prefix}
libdir=\${exec_prefix}/$(get_libdir)
includedir=\${prefix}/include
Name: METIS
Description: Software for partioning unstructured graphes and meshes
Version: ${PV}
Libs: -L${libdir} -lmetis
Cflags: -I${includedir}/metis
Cflags: -I\${includedir}/metis
Libs: -L\${libdir} -lmetis
EOF

insinto /usr/$(get_libdir)/pkgconfig
Expand Down

0 comments on commit 256a394

Please sign in to comment.