summaryrefslogtreecommitdiff
blob: fd9d6fba2c7b1813b9bc63a18d9cf5f4934af26e (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
# Copyright 1999-2004 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/x11-themes/gtk-engines-thinice/gtk-engines-thinice-2.0.2-r1.ebuild,v 1.15 2004/11/08 18:57:27 vapier Exp $

inherit gtk-engines2

GTK1_VER="1.0.4"
GTK2_VER="${PV}"
GTK1_PN=${PN/gtk-engines-thinice/gtk-thinice-theme}
GTK2_PN=${PN/gtk-engines-thinice/gtk-thinice-engine}

DESCRIPTION="GTK+1 and GTK+2 ThinIce Theme Engine"
HOMEPAGE="http://thinice.sourceforge.net/"
SRC_URI="mirror://sourceforge/thinice/${GTK1_PN}-${GTK1_VER}.tar.gz
	mirror://sourceforge/thinice/${GTK2_PN}-${GTK2_VER}.tar.gz"

LICENSE="GPL-2"
SLOT="2"
KEYWORDS="x86 amd64 hppa sparc alpha ia64 mips ppc arm"
IUSE=""

GTK1_S=${WORKDIR}/${GTK1_PN}-${GTK1_VER}
GTK2_S=${WORKDIR}/${GTK2_PN}-${GTK2_VER}

src_unpack() {
	unpack ${A}
	if [ -d "${GTK1_S}" -a "${ARCH}" = "amd64" ]; then
		cd ${GTK1_S}
		aclocal
		autoheader
		WANT_AUTOMAKE=1.4 automake -a -c
		autoconf
		libtoolize -c -f
	fi
}