/[gentoo-x86]/net-libs/qtweetlib/qtweetlib-9999.ebuild
Gentoo

Contents of /net-libs/qtweetlib/qtweetlib-9999.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.3 - (hide annotations) (download)
Sun Jul 15 16:49:30 2012 UTC (6 years, 3 months ago) by kensington
Branch: MAIN
Changes since 1.2: +2 -2 lines
Add missing slot dependencies on Qt.

(Portage version: 2.1.11.5/cvs/Linux x86_64)

1 johu 1.2 # Copyright 1999-2012 Gentoo Foundation
2 dilfridge 1.1 # Distributed under the terms of the GNU General Public License v2
3 kensington 1.3 # $Header: /var/cvsroot/gentoo-x86/net-libs/qtweetlib/qtweetlib-9999.ebuild,v 1.2 2012/02/23 18:44:04 johu Exp $
4 dilfridge 1.1
5     EAPI=4
6    
7     MY_PN=QTweetLib
8    
9     if [[ ${PV} != *9999* ]]; then
10     SRC_URI="https://github.com/minimoog/${MY_PN}/tarball/${PV} -> ${P}.tar.gz"
11     KEYWORDS="~amd64 ~x86"
12     else
13     GIT_ECLASS="git-2"
14     EGIT_REPO_URI="git://github.com/minimoog/QTweetLib.git"
15     KEYWORDS=""
16     fi
17    
18     inherit qt4-r2 cmake-utils ${GIT_ECLASS}
19    
20     DESCRIPTION="Qt based Twitter library"
21     HOMEPAGE="https://github.com/minimoog/QTweetLib"
22    
23     LICENSE="GPL-2"
24     SLOT="0"
25     IUSE="debug"
26    
27     DEPEND="
28     >=dev-libs/qjson-0.7.1
29 kensington 1.3 >=x11-libs/qt-core-4.6.0:4[ssl]
30 dilfridge 1.1 "
31     RDEPEND="${DEPEND}"
32    
33     src_unpack() {
34     if [[ ${PV} != *9999* ]]; then
35     unpack ${A}
36     mv *-${MY_PN}-* "${S}"
37     else
38     git-2_src_unpack
39     fi
40     }

  ViewVC Help
Powered by ViewVC 1.1.20