File: quickplot.ebuild

package info (click to toggle)
quickplot 0.8.6-1
  • links: PTS
  • area: main
  • in suites: sarge
  • size: 1,544 kB
  • ctags: 1,019
  • sloc: cpp: 10,051; sh: 7,597; makefile: 176
file content (29 lines) | stat: -rw-r--r-- 867 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
# Copyright 1999-2005 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: Exp $

DESCRIPTION="A fast interactive 2D plotter."
SRC_URI="mirror://sourceforge/${PN}/${P}.tar.bz2"
HOMEPAGE="http://quickplot.sourceforge.net/"

IUSE=""
SLOT="0"
LICENSE="GPL-2"
KEYWORDS="~x86 ~amd64"

DEPEND=">=dev-util/pkgconfig-0.15
        >=dev-cpp/gtkmm-2.4.5
        >=media-libs/libsndfile-1.0.5"

src_compile() {
        econf --with-html-dir=/usr/share/doc/${PF} || die "econf step failed."
        emake || die "emake step failed."
}

src_install () {
        make install DESTDIR=${D} || die "make install step failed."
        # Remove the licence as it is specified in LICENCE
        rm ${D}/usr/share/doc/${PN}/COPYING
        # Move the docs to the correct location
        mv ${D}/usr/share/doc/${PN} ${D}/usr/share/doc/${PF}
}