summaryrefslogtreecommitdiff
blob: a3d6b9986941189d7cf689ae51f7c5f41f4adda0 (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
45
46
47
48
49
50
51
52
53
54
55
56
57
# Copyright 1999-2001 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License, v2 or later
# Author Dan Armak <danarmak@gentoo.org>
# $Header: /var/cvsroot/gentoo-x86/app-admin/webconfig/webconfig-0.5.ebuild,v 1.1 2001/08/04 16:48:34 danarmak Exp $

# Note: this supports several programs e.g. cups, wwwoffle... but if some
# aren't installed than the interface for that program simply doesn't work.
# However the error message recieved when trying to activate the interface
# can be very misleading - an http timeout on a localo port.

S=${WORKDIR}/${P}
SRC_URI="http://home.tiscalinet.be/psidekick/webconfig/downloads/${P}.tar.gz
	 http://home.tiscalinet.be/psidekick/webconfig/downloads/webconfig-icons-${PV}.tar.gz"

HOMEPAGE="http://home.tiscalinet.be/psidekick/webconfig/"
DESCRIPTION="A kcontrol interface to various html-based config modules"

# Links against tons of libs, through khtml?
# It may not need all these absolutely, but kde itself does
# I'm sure it can install wherever kdebase (with kcontrol + konqueror)
# is installed. Otherwise I'd get a list like this:
#DEPEND="kde-base/kdebase
#	virtual/x11
#	x11-libs/qt
#	media-libs/libpng
#	sys-libs/libz
#	media-libs/jpeg
#	sys-devel/gcc
#	sys-libs/glibc
#	virtual/glut
#	media-libs/libmng
#	sys-devel/ld.so
#	dev-libs/openssl
#	media-libs/freetype
#	media-libs/lcms"
DEPEND="kde-base/kdebase"

src_compile() {
    
    confopts="--infodir=/usr/share/info --mandir=/usr/share/man --prefix=/usr --host=${CHOST}"
    
    try ./configure ${confopts}
    
    try emake

}

src_install () {

    try make DESTDIR=${D} install
    
    cd ${WORKDIR}/share
    dodir ${KDEDIR}/share
    cp -a * ${D}/${KDEDIR}/share

}