summaryrefslogtreecommitdiff
blob: 7dc721d8161910d2f5c11de0746c6ce4cfc044f2 (plain)
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
30
31
32
33
34
35
36
37
# Copyright 1999-2010 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: $

EAPI="2"
inherit eutils
#Source Releases/1.5/PosteRazor-1.5-Source.zip

MY_P=PosteRazor-${PV}-Source
SRC_URI="mirror://sourceforge/${PN}/Source%20dReleases/${PV}/${MY_P}.zip
FreeImage.h: No such file or directory"

DESCRIPTION="PosteRazor cuts raster images into multipage PDF documents."
HOMEPAGE="http://posterazor.sourceforge.net/"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="amd64 x86"
IUSE=""

RDEPEND=""
src_compile() {
	cd src
	cmake CMakeLists.txt
	
}
src_install() {
	cd ${WORKDIR}/${MY_P}/
	cmake
	rm ${WORKDIR}/${MY_P}/papagayo.ic*
	insinto /usr/share/${PN}
	doins -r ${WORKDIR}/${MY_P}/*
	exeinto /usr/bin
	doexe ${FILESDIR}/papagayo
	dodoc ${WORKDIR}/${MY_P}/*.txt ${WORKDIR}/${MY_P}/rsrc/*.html 
	doicon ${WORKDIR}/${MY_P}/rsrc/papagayo.jpg
	make_desktop_entry papagayo Papagayo
}