/[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.1 - (hide annotations) (download)
Sat Nov 12 19:21:12 2011 UTC (6 years, 11 months ago) by dilfridge
Branch: MAIN
New library, dependency of media-sound/tomahawk; imported from KDE overlay.

(Portage version: 2.1.10.34/cvs/Linux x86_64)

1 dilfridge 1.1 # Copyright 1999-2011 Gentoo Foundation
2     # Distributed under the terms of the GNU General Public License v2
3     # $Header: $
4    
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     >=x11-libs/qt-core-4.6.0[ssl]
30     "
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