blob: 2ea01da2e3325905b44cd515a94f2ccd0dc6f01b (
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
|
# 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 Releases/${PV}/${MY_P}.zip"
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() {
unzip ${DISTDIR}/${MY_P}.zip -d ${WORKDIR}
}
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
}
|