summaryrefslogtreecommitdiff
blob: c759f6df60afbbc86742279f07c24d3da13aebf5 (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
# Copyright 1999-2004 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/x11-libs/libdockapp/libdockapp-0.5.0.ebuild,v 1.7 2004/09/03 02:47:39 tgall Exp $

inherit eutils

IUSE=""

DESCRIPTION="Window Maker Dock Applet Library"
SRC_URI="http://solfertje.student.utwente.nl/~dalroi/libdockapp/files/${P}.tar.bz2"
HOMEPAGE="http://solfertje.student.utwente.nl/~dalroi/libdockapp/"

LICENSE="as-is"
SLOT="0"
KEYWORDS="x86 ~sparc ~amd64 ppc ppc64"

DEPEND="virtual/x11"

S=${WORKDIR}/${PN/lib/}

src_unpack() {
	unpack ${A}
	cd ${S}/fonts
	epatch ${FILESDIR}/makefile-0.5.0.patch
	cd ${S}
}

src_compile() {
	libtoolize --force --copy
	aclocal
	autoconf

	econf || die "configure failed"

	emake || die "parallel make failed"
}

src_install() {
	make DESTDIR=${D} install || die "make install failed"

	dodoc README ChangeLog NEWS AUTHORS
}