/[gentoo-x86]/x11-plugins/wmjsql/wmjsql-0.5.ebuild
Gentoo

Contents of /x11-plugins/wmjsql/wmjsql-0.5.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.15 - (hide annotations) (download)
Wed Sep 5 08:16:55 2012 UTC (8 months, 2 weeks ago) by jlec
Branch: MAIN
CVS Tags: HEAD
Changes since 1.14: +11 -9 lines
Use domenu instead insinto + doins to install .desktop files

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

1 voyageur 1.14 # Copyright 1999-2012 Gentoo Foundation
2 s4t4n 1.1 # Distributed under the terms of the GNU General Public License v2
3 jlec 1.15 # $Header: /var/cvsroot/gentoo-x86/x11-plugins/wmjsql/wmjsql-0.5.ebuild,v 1.14 2012/02/15 09:49:12 voyageur Exp $
4 s4t4n 1.13
5     EAPI=2
6 s4t4n 1.1
7 jlec 1.15 inherit eutils
8 s4t4n 1.1
9     MY_P="${PN}"
10    
11     DESCRIPTION="MySQL monitor dockapp"
12 jlec 1.15 HOMEPAGE="http://dockapps.windowmaker.org/file.php/id/42"
13 voyageur 1.14 SRC_URI="http://dockapps.windowmaker.org/download.php/id/73/${P}.tar.gz"
14 s4t4n 1.1
15 jlec 1.15 RDEPEND="
16     x11-libs/libX11
17 dberkholz 1.10 x11-libs/libXext
18     x11-libs/libXpm"
19 nelchael 1.8 DEPEND="${RDEPEND}
20 dberkholz 1.10 x11-proto/xproto
21     x11-proto/xextproto
22 vivo 1.9 >=virtual/mysql-4.0"
23 s4t4n 1.1
24     SLOT="0"
25     LICENSE="GPL-2"
26 tcunha 1.11 KEYWORDS="ppc sparc x86"
27 jlec 1.15 IUSE=""
28    
29     S="${WORKDIR}/${MY_P}"
30 s4t4n 1.1
31 s4t4n 1.13 src_prepare() {
32 jlec 1.15 sed -i "s/make/\$(MAKE)/g" src/Makefile || die
33 s4t4n 1.13 }
34    
35 s4t4n 1.1 src_compile() {
36 ssuominen 1.12 cd "${S}"/src
37 jlec 1.15 emake clean || die
38 s4t4n 1.13 emake CFLAGS="${CFLAGS}" SYSTEM="${LDFLAGS}" || die
39 s4t4n 1.1 }
40    
41     src_install() {
42 ssuominen 1.12 cd "${S}"/src
43     dobin wmjsql || die
44 s4t4n 1.1 newdoc conf sample.wmjsql
45    
46 ssuominen 1.12 cd "${S}"
47 s4t4n 1.7 dodoc CREDITS README TODO
48 s4t4n 1.1
49 jlec 1.15 domenu "${FILESDIR}"/${PN}.desktop
50 s4t4n 1.1 }

  ViewVC Help
Powered by ViewVC 1.1.13