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.9999.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.9999.ebuild,v 1.4 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 85-88 Link Here
85
		# avoid the connected/ directory, get only the ${size}x${size}
85
		# avoid the connected/ directory, get only the ${size}x${size}
86
		doins -r "${S}"/src/icons/quassel/*x*
86
		doins -r "${S}"/src/icons/quassel/*x*
87
	fi
87
	fi
88
89
	if use server; then
90
		newinitd ${FILESDIR}/quasselcore.init quasselcore
91
		newconfd ${FILESDIR}/quasselcore.conf quasselcore
92
	fi
93
}
94
95
pkg_postinst() {
96
	if use server; then
97
		ewarn "In order to use the quassel init script you must set the"
98
		ewarn "QUASSELUSER variable in /etc/conf.d/quasselcore to your username."
99
	fi
88
}
100
}

Return to bug 217510