~ubuntu-branches/ubuntu/natty/xmedcon/natty

« back to all changes in this revision

Viewing changes to etc/xmedcon.ebuild.in

  • Committer: Bazaar Package Importer
  • Author(s): Roland Marcus Rutschmann
  • Date: 2008-03-20 16:30:00 UTC
  • mfrom: (1.1.11 upstream) (2.1.3 lenny)
  • Revision ID: james.westby@ubuntu.com-20080320163000-tvridqxpeahbkax8
Tags: 0.10.4-1
New upstream release

Show diffs side-by-side

added added

removed removed

Lines of Context:
8
8
# project     : (X)MedCon by Erik Nolf                                    #
9
9
#                                                                         #
10
10
# # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # #
11
 
# $Id: xmedcon.ebuild.in,v 1.2 2006/03/01 23:10:54 enlf Exp $
 
11
# $Id: xmedcon.ebuild.in,v 1.9 2008/03/14 21:49:15 enlf Exp $
12
12
#
13
13
 
 
14
inherit eutils
 
15
 
14
16
DESCRIPTION="Medical Image Conversion Utility"
15
17
HOMEPAGE="http://${PN}.sourceforge.net"
16
18
SRC_URI="mirror://sourceforge/${PN}/${P}.tar.bz2"
18
20
LICENSE="GPL-2 LGPL-2"
19
21
SLOT="0"
20
22
#KEYWORDS="alpha amd64 arm hppa ia64 mips ppc ppc64 sparc x86"
21
 
KEYWORDS="~amd64 ~x86"
 
23
KEYWORDS="x86 ~amd64"
22
24
IUSE="png gtk"
23
25
 
24
 
DEPEND="gtk? ( =x11-libs/gtk+-1.2* )
25
 
        gnome? ( media-libs/gdk-pixbuf )
 
26
DEPEND="gtk? ( >=x11-libs/gtk+-2 )
26
27
        png? ( >=media-libs/libpng-1.2.1 )"
27
28
 
28
29
src_compile() {
29
30
 
30
 
        myconf="`use_enable png` `use_enable gnome gui`"
 
31
        local myconf="$(use_enable gtk gui) $(use_enable png)"
31
32
 
32
33
        econf ${myconf} || die
33
34
 
39
40
        make DESTDIR=${D} install || die
40
41
 
41
42
        dodoc AUTHORS COPYING* INSTALL NEWS README REMARKS
 
43
 
 
44
        dodir /usr/share/pixmaps
 
45
        insinto /usr/share/pixmaps
 
46
        doins ${D}/etc/xmedcon.png
42
47
}
43
48