Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 217510 | Differences between
and this patch

Collapse All | Expand All

(-)quassel-0.2.0_rc1.ebuild.old (-2 / +14 lines)
Lines 1-19 Link Here
1
# Copyright 1999-2008 Gentoo Foundation
1
# Copyright 1999-2008 Gentoo Foundation
2
# Distributed under the terms of the GNU General Public License v2
2
# Distributed under the terms of the GNU General Public License v2
3
# $Header: /var/cvsroot/gentoo-x86/net-irc/quassel/quassel-0.2.0_rc1.ebuild,v 1.2 2008/07/02 22:52:24 flameeyes Exp $
3
# $Header: $
4
4
5
EAPI=1
5
EAPI=1
6
6
7
inherit cmake-utils eutils
7
inherit cmake-utils eutils
8
8
9
if [[ ${PV} == *9999 ]]; then
9
if [[ ${PV} == *9999 ]]; then
10
	inherit git
11
	EGIT_REPO_URI="git://git.quassel-irc.org/quassel.git"
10
	EGIT_REPO_URI="git://git.quassel-irc.org/quassel.git"
12
11
13
	case ${PV} in
12
	case ${PV} in
14
		0.2.9999) EGIT_BRANCH="0.2" ;;
13
		0.2.9999) EGIT_BRANCH="0.2" ;;
15
		*) EGIT_BRANCH="master"
14
		*) EGIT_BRANCH="master"
16
	esac
15
	esac
16
	inherit git
17
else
17
else
18
	MY_P="${P/_/-}"
18
	MY_P="${P/_/-}"
19
	SRC_URI="http://quassel-irc.org/system/files/${MY_P}.tar.bz2"
19
	SRC_URI="http://quassel-irc.org/system/files/${MY_P}.tar.bz2"
Lines 87-90 Link Here
87
			newins "${S}"/src/icons/quassel/connected/${size}.png quassel.png
87
			newins "${S}"/src/icons/quassel/connected/${size}.png quassel.png
88
		done
88
		done
89
	fi
89
	fi
90
91
	if use server; then
92
		newinitd ${FILESDIR}/quasselcore.init quasselcore
93
		newconfd ${FILESDIR}/quasselcore.conf quasselcore
94
	fi
95
}
96
97
pkg_postinst() {
98
	if use server; then
99
		ewarn "In order to use the quassel init script you must set the"
100
		ewarn "QUASSELUSER variable in /etc/conf.d/quasselcore to your username."
101
	fi
90
}
102
}

Return to bug 217510