summaryrefslogtreecommitdiff
blob: 52f05ab56e22fd7c8dc8729787c99702edcadfeb (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
# Copyright 1999-2013 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: $

EAPI=5

MY_P="master-pdf-editor"
MY_V=4
DESCRIPTION="Create, convert and edit PDF and XPS files"
HOMEPAGE="http://code-industry.net/pdfeditor.php"
SRC_URI="http://code-industry.net/public/${MY_P}-${PV}_i386.tar.gz"

LICENSE="CodeIndustry"
SLOT="0"
KEYWORDS="x86"
IUSE=""

QA_PREBUILT="/opt/${PN}/pdfeditor"

DEPEND=">=dev-qt/qtcore-4.8.1:4"
RDEPEND="${DEPEND}
		media-gfx/sane-backend"

S=${WORKDIR}/${MY_P}-${MY_V}

src_prepare() {
	#This is ultra ugly, 
	wget ftp://195.220.108.108/linux/mageia/distrib/6/i586/media/core/release/libsane1-1.0.25-5.mga6.i586.rpm
	rpm2tgz libsane1-1.0.25-5.mga6.i586.rpm
}
src_install() {
  insinto /opt/${PN}
  doins -r *
  fperms 755 /opt/${PN}/masterpdfeditor${MY_V}
  dosym /opt/${PN}/masterpdfeditor${MY_V} /opt/bin/pdfeditor
}