/[gentoo-x86]/x11-plugins/wmlaptop/wmlaptop-1.4.ebuild
Gentoo

Contents of /x11-plugins/wmlaptop/wmlaptop-1.4.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.3 - (hide annotations) (download)
Wed Sep 5 08:17:10 2012 UTC (8 months, 2 weeks ago) by jlec
Branch: MAIN
CVS Tags: HEAD
Changes since 1.2: +2 -3 lines
Use domenu instead insinto + doins to install .desktop files

(Portage version: 2.2.0_alpha124/cvs/Linux x86_64)

1 voyageur 1.2 # Copyright 1999-2012 Gentoo Foundation
2 s4t4n 1.1 # Distributed under the terms of the GNU General Public License v2
3 jlec 1.3 # $Header: /var/cvsroot/gentoo-x86/x11-plugins/wmlaptop/wmlaptop-1.4.ebuild,v 1.2 2012/02/15 09:49:42 voyageur Exp $
4 s4t4n 1.1
5     inherit eutils
6    
7     IUSE=""
8    
9     MY_P="${P}"
10     S="${WORKDIR}/${MY_P}/src"
11    
12     DESCRIPTION="Dockapp for laptop users"
13 voyageur 1.2 SRC_URI="http://dockapps.windowmaker.org/download.php/id/509/${P}.tar.gz"
14     HOMEPAGE="http://dockapps.windowmaker.org/file.php/id/227"
15 s4t4n 1.1
16     RDEPEND="x11-libs/libX11
17     x11-libs/libXext
18     x11-libs/libXpm"
19     DEPEND="${RDEPEND}
20     x11-proto/xextproto
21     >=sys-apps/sed-4.1.5-r1"
22    
23     SLOT="0"
24     LICENSE="GPL-2"
25     KEYWORDS="~amd64 ~ppc ~x86"
26    
27     src_unpack() {
28     unpack ${A}
29     cd "${S}"
30    
31     epatch "${FILESDIR}"/${PN}-Makefile.patch
32     epatch "${FILESDIR}"/${PN}-ACPI-detection.patch
33     }
34    
35     src_compile() {
36     emake || die "Compilation failed"
37     }
38    
39     src_install() {
40     dodir /usr/bin
41     einstall INSTALLDIR="${D}/usr/bin" || die "Installation failed"
42    
43     dodoc ../AUTHORS ../README ../README.IT ../THANKS
44    
45 jlec 1.3 domenu "${FILESDIR}/${PN}.desktop"
46 s4t4n 1.1 }

  ViewVC Help
Powered by ViewVC 1.1.13