/[gentoo-x86]/x11-themes/gtk-theme-switch/gtk-theme-switch-2.0.0_rc2-r2.ebuild
Gentoo

Contents of /x11-themes/gtk-theme-switch/gtk-theme-switch-2.0.0_rc2-r2.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.15 - (show annotations) (download)
Tue Jul 20 16:37:11 2010 UTC (8 years, 3 months ago) by ssuominen
Branch: MAIN
CVS Tags: HEAD
Changes since 1.14: +1 -1 lines
FILE REMOVED
old
(Portage version: 2.2_rc67/cvs/Linux x86_64)

1 # Copyright 1999-2010 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
3 # $Header: /var/cvsroot/gentoo-x86/x11-themes/gtk-theme-switch/gtk-theme-switch-2.0.0_rc2-r2.ebuild,v 1.14 2010/06/16 14:37:02 ssuominen Exp $
4
5 inherit eutils toolchain-funcs
6
7 MY_P=${P/_/}
8
9 DESCRIPTION="Application for easy change of GTK-Themes"
10 HOMEPAGE="http://www.muhri.net/nav.php3?node=gts"
11 SRC_URI="mirror://gentoo/${MY_P}.tar.gz
12 mirror://gentoo/${MY_P}b.patch.gz"
13
14 LICENSE="GPL-2"
15 SLOT="0"
16 KEYWORDS="alpha amd64 hppa ia64 ~mips ppc ppc64 sparc x86 ~x86-fbsd ~x86-freebsd ~x86-interix ~amd64-linux ~x86-linux ~x86-macos"
17 IUSE=""
18
19 RDEPEND="=x11-libs/gtk+-2*"
20 DEPEND="${RDEPEND}
21 dev-util/pkgconfig"
22
23 S=${WORKDIR}/${MY_P}
24
25 src_unpack() {
26 unpack ${A}
27 cd "${S}"
28 epatch "${WORKDIR}"/${MY_P}b.patch \
29 "${FILESDIR}"/${P}-gtk+-2.4_fix.patch
30 }
31
32 src_compile() {
33 emake GCC="$(tc-getCC)" \
34 CFLAGS="${CFLAGS} -Wall $(pkg-config --cflags gtk+-2.0)" \
35 || die "emake failed."
36 }
37
38 src_install() {
39 dobin switch2
40 newman switch.1 gtk-theme-switch2.1
41 dosym gtk-theme-switch2.1 /usr/share/man/man1/switch2.1
42 }

  ViewVC Help
Powered by ViewVC 1.1.20