blob: 5fe383aec3fc4cf3158f69da78a542d9a5f2ff8d (
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
33
34
35
36
37
38
39
40
41
42
43
44
|
# Copyright 1999-2011 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-util/acgmake/acgmake-1.4.ebuild,v 1.3 2011/05/11 20:03:08 angelos Exp $
inherit eutils multilib
S=${WORKDIR}/${PN}
DESCRIPTION="Build system for large projects"
HOMEPAGE="http://www-i8.informatik.rwth-aachen.de/index.php?id=17"
SRC_URI="http://www.graphics.rwth-aachen.de/fileadmin/download/software/acgmake/${P}.tgz"
LICENSE="LGPL-2"
SLOT="0"
KEYWORDS="amd64 ~x86"
IUSE=""
DEPEND="app-shells/bash
sys-devel/make"
src_unpack() {
unpack ${A}
cd "${S}"
chmod 644 "${S}"/configs/*
chmod 644 "${S}"/modules/*
# Get rid of moc-qt4 and uic-qt4 paths.
# Fix libdir for qt libs.
sed -i \
-e 's:-qt4$::' \
-e "s,\(QT4_LIBDIR := \).*,\1/usr/$(get_libdir)/qt4," \
configs/config.Linux || die
# Allow ebuilds to set CXXFLAGS
epatch "${FILESDIR}"/${PN}-1.2-cflags.patch
}
src_install() {
insinto /usr/$(get_libdir)/misc/acgmake
doins Config Rules
cp -a bin configs modules "${D}"/usr/$(get_libdir)/misc/acgmake
dosym ../$(get_libdir)/misc/acgmake/bin/acgmake /usr/bin/acgmake
}
|