summaryrefslogtreecommitdiff
path: root/eclass/boost-utils.eclass
diff options
context:
space:
mode:
authorCtibor <ctibor.brancik@seznam.cz>2015-01-30 20:40:01 +0100
committerCtibor <ctibor.brancik@seznam.cz>2015-01-30 20:40:01 +0100
commitb2d53983701563146c25a17960bc130dd19ba468 (patch)
tree7fed3e4e2df1ba3861cf87722467db268a7496eb /eclass/boost-utils.eclass
parent8c63f5900555fbb250d00d7dd0dba6d4593fbed3 (diff)
downloadbrancik-overlay-b2d53983701563146c25a17960bc130dd19ba468.tar.gz
brancik-overlay-b2d53983701563146c25a17960bc130dd19ba468.tar.bz2
Removed eclass directory as no eclasses are used by overlay.
Diffstat (limited to 'eclass/boost-utils.eclass')
-rwxr-xr-xeclass/boost-utils.eclass36
1 files changed, 0 insertions, 36 deletions
diff --git a/eclass/boost-utils.eclass b/eclass/boost-utils.eclass
deleted file mode 100755
index d561ae3..0000000
--- a/eclass/boost-utils.eclass
+++ /dev/null
@@ -1,36 +0,0 @@
-# Copyright 1999-2011 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: $
-
-#
-# Author: Hanno Meyer-Thurow
-# Purpose: Serve paths to boost libraries & headers
-#
-
-inherit flag-o-matic multilib
-
-# get_boost_library_path
-get_boost_library_path() {
- local version="$(grep -o -e "[0-9]_[0-9][0-9]" \
- /usr/include/boost/version.hpp)"
-
- local path="/usr/$(get_libdir)/boost-${version}"
-
- [ -d "${path}" ] && echo -n "${path}"
-}
-
-# add_boost_library_path
-add_boost_library_path() {
- local path="$(get_boost_library_path)"
-
- if [ "${path}" ] ; then
- append-ldflags "-L${path}"
- else
- die "path not found! (${path})"
- fi
-}
-
-# add_boost_paths: convenient wrapper
-add_boost_paths() {
- add_boost_library_path
-}