blob: 3c4c7954791bbdcc5a1753d4622f3004374e32a1 (
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
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
|
# Copyright 1999-2013 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$
EAPI="4"
inherit unpacker
MY_PN=${PN%%-bin}-mono
DESCRIPTION="Financial accounting software"
HOMEPAGE="http://erp.arcad.de/products_office_lxfibu.php"
SRC_URI="http://packages.arcad.de/FREE-Linux/pool/precise/stable/${PN:0:1}/${MY_PN}/${MY_PN}_${PV}_amd64.deb"
LICENSE="all-rights-reserved"
SLOT="0"
KEYWORDS="~amd64"
IUSE=""
# Inspired by from debian/control file
DEPEND=""
RDEPEND="!media-gfx/arcad-c1-bin
>=dev-libs/libaio-0.3.93
>=sys-libs/glibc-2.14
>=media-libs/fontconfig-2.8.0
>=media-libs/freetype-2.2.1
>=sys-devel/gcc-4.1.1[cxx]
media-libs/mesa
virtual/glu
virtual/jpeg
media-libs/libpng:1.2
x11-libs/libX11
x11-libs/libXext
x11-libs/libXft
dev-libs/libxml2
x11-libs/libXmu
x11-libs/libXp
x11-libs/libXrender
x11-libs/libXt
>=sys-libs/zlib-1.2.0"
S=${WORKDIR}
RESTRICT="mirror strip"
src_install() {
local app=${PN%%-bin}
local target=_Linux_x86_64_3.5.0
cp -R . "${D}"/ || die
dosym /opt/tuxbase/projects/${app}/${app}.desktop /usr/share/applications/${app}.desktop || die
dosym lib${target} /opt/tuxbase/lib || die
dosym bin${target} /opt/tuxbase/projects/${app}/bin || die
dosym /opt/tuxbase/projects/${app}/start /usr/bin/${app} || die
dosym /usr/lib64/libjpeg.so /opt/tuxbase/lib/libjpeg.so.62 || die
# Ensure that the shipped libXm.so.4.0.3 is used rather than the system-wide libXm.so.4.0.4 or we get:
# symbol lookup error: /opt/tuxbase/lib/libtxtbl.so.2010.02: undefined symbol: _XmXftSetClipRectangles
dosym libXm.so.4.0.3 /opt/tuxbase/lib/libXm.so.4 || die
}
|