/[gentoo-x86]/media-gfx/nip2/nip2-7.14.3.ebuild
Gentoo

Contents of /media-gfx/nip2/nip2-7.14.3.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.2 - (show annotations) (download)
Sat Aug 23 10:20:40 2008 UTC (6 years, 4 months ago) by maekke
Branch: MAIN
CVS Tags: HEAD
Changes since 1.1: +1 -1 lines
FILE REMOVED
old
(Portage version: 2.2_rc8/cvs/Linux 2.6.27-rc4 i686)

1 # Copyright 2003-2008 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
3 # $Header: /var/cvsroot/gentoo-x86/media-gfx/nip2/nip2-7.14.3.ebuild,v 1.1 2008/04/27 15:27:54 maekke Exp $
4
5 inherit fdo-mime
6
7 DESCRIPTION="VIPS Image Processing Graphical User Interface"
8 SRC_URI="http://www.vips.ecs.soton.ac.uk/supported/7.14/${P}.tar.gz"
9 HOMEPAGE="http://vips.sourceforge.net"
10
11 SLOT="0"
12 LICENSE="GPL-2"
13
14 KEYWORDS="~ppc ~x86"
15
16 IUSE="fftw"
17
18 RDEPEND=">=media-libs/vips-7.14.1
19 >=x11-libs/gtk+-2.4
20 dev-libs/libxml2
21 >=dev-libs/glib-2
22 fftw? ( >=sci-libs/fftw-3 )"
23
24 # Flex and bison are build dependencies, but are not needed at runtime
25 DEPEND="${RDEPEND}
26 sys-devel/flex
27 sys-devel/bison"
28
29 src_compile() {
30 local myconf
31 use fftw || myconf="--without-fftw"
32 econf ${myconf} || die "econf failed"
33 emake || die "emake failed"
34 }
35
36 src_install() {
37 # create these dirs to make the makefile installs these items correctly
38 dodir /usr/share/{applications,application-registry,mime-info}
39
40 insinto /usr/share/pixmaps
41 doins "${FILESDIR}"/nip2.png
42 insinto /usr/share/applications
43 doins "${FILESDIR}"/nip2.desktop
44 insinto /usr/share/mime/packages
45 doins "${FILESDIR}"/nip2.xml
46
47 einstall || die "einstall failed"
48 dodoc AUTHORS ChangeLog NEWS README*
49 }
50
51 pkg_postinst() {
52 fdo-mime_desktop_database_update
53 fdo-mime_mime_database_update
54 }
55
56 pkg_postrm() {
57 fdo-mime_desktop_database_update
58 fdo-mime_mime_database_update
59 }

  ViewVC Help
Powered by ViewVC 1.1.20