blob: 7ebdd0aff399b9fbd3b2f8c7f46dc4ad34ce589a (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
|
# Copyright 1999-2008 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/media-libs/lasi/lasi-1.1.0.ebuild,v 1.1 2008/10/21 11:29:15 bicatali Exp $
inherit eutils cmake-utils multilib
MY_PN="libLASi"
MY_P="${MY_PN}-${PV}"
DESCRIPTION="C++ library for postscript stream output"
HOMEPAGE="http://www.unifont.org/lasi/"
SRC_URI="mirror://sourceforge/${PN}/${MY_P}.tar.gz"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE="doc"
DEPEND="doc? ( app-doc/doxygen )"
RDEPEND=""
S="${WORKDIR}/${MY_P}"
DOCS="AUTHORS NEWS NOTES README"
src_unpack() {
unpack ${A}
cd "${S}"
sed -e "s:\/lib$:\/$(get_libdir):" \
-i cmake/modules/instdirs.cmake \
|| die "Failed to fix cmake files for multilib."
}
|