/[gentoo-x86]/net-misc/dhcpcd-ui/dhcpcd-ui-0.7.4.ebuild
Gentoo

Contents of /net-misc/dhcpcd-ui/dhcpcd-ui-0.7.4.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.5 - (hide annotations) (download)
Thu Nov 13 17:07:38 2014 UTC (5 years, 7 months ago) by hwoarang
Branch: MAIN
Changes since 1.4: +8 -10 lines
Drop icons useflag and reword configure code

(Portage version: 2.2.14/cvs/Linux x86_64, signed Manifest commit with key 09BF4F54C2BA7F3C!)

1 hwoarang 1.1 # Copyright 1999-2014 Gentoo Foundation
2     # Distributed under the terms of the GNU General Public License v2
3 hwoarang 1.5 # $Header: /var/cvsroot/gentoo-x86/net-misc/dhcpcd-ui/dhcpcd-ui-0.7.4.ebuild,v 1.4 2014/11/12 19:28:24 hwoarang Exp $
4 hwoarang 1.1
5     EAPI=5
6    
7     inherit eutils systemd
8    
9     DESCRIPTION="Desktop notification and configuration for dhcpcd"
10     HOMEPAGE="http://roy.marples.name/projects/dhcpcd-ui/"
11     SRC_URI="http://roy.marples.name/downloads/${PN%-ui}/${P}.tar.bz2"
12    
13     LICENSE="BSD-2"
14     SLOT="0"
15     KEYWORDS="~amd64 ~x86"
16 hwoarang 1.5 IUSE="debug gtk gtk3 qt4 libnotify"
17 hwoarang 1.4 REQUIRED_USE="?? ( gtk gtk3 qt4 )
18 hwoarang 1.5 gtk3? ( !gtk ) gtk? ( !gtk3 )"
19 hwoarang 1.1
20     DEPEND="${DEPEND}
21     virtual/libintl
22     libnotify? (
23     gtk? ( x11-libs/libnotify )
24     gtk3? ( x11-libs/libnotify )
25     qt4? ( kde-base/kdelibs )
26     )
27     gtk? ( x11-libs/gtk+:2 )
28     gtk3? ( x11-libs/gtk+:3 )
29     qt4? ( dev-qt/qtgui:4 )"
30    
31 hwoarang 1.5 RDEPEND=">=net-misc/dhcpcd-6.4.4"
32 hwoarang 1.1
33     src_prepare()
34     {
35     epatch_user
36     }
37    
38     src_configure()
39     {
40     local myeconfargs=(
41     $(use_enable debug)
42 hwoarang 1.5 $(usex gtk '--with-gtk=gtk+-2.0 --with-icons' '')
43     $(usex gtk3 '--with-gtk=gtk+-3.0 --with-icons' '')
44     $(usex qt4 '--with-qt --with-icons' '')
45 hwoarang 1.1 $(use_enable libnotify notification)
46 hwoarang 1.2 $(use gtk || use gtk3 || echo '--without-gtk')
47 hwoarang 1.5 $(use gtk || use gtk3 || use qt4 || echo '--without-icons')
48 hwoarang 1.1 )
49     econf "${myeconfargs[@]}"
50     }
51    
52     src_install()
53     {
54     emake DESTDIR="${D}" INSTALL_ROOT="${D}" install
55    
56     systemd_dounit src/dhcpcd-online/dhcpcd-wait-online.service
57     }

  ViewVC Help
Powered by ViewVC 1.1.20