aboutsummaryrefslogtreecommitdiff
blob: 4218a49cc7e8e7f9c3afc13a00a373c30fbf42b4 (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-2009 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: $

EAPI=4

DEBVER="3.2p1.4-28"

DESCRIPTION="The X Window-System-based Visual/Integrated Environment for Workstations - binary package"
HOMEPAGE="http://physionet.caregroup.harvard.edu/physiotools/xview/"
SRC_URI="mirror://debian/pool/main/x/xview/xviewg_${DEBVER}_i386.deb"

LICENSE="XVIEW"
SLOT="0"
KEYWORDS="-*"
IUSE="static-libs"

S=${WORKDIR}

QA_PREBUILT="*"

src_unpack() {
	unpack ${A}
	unpack ./data.tar.gz
}

src_install() {
	local lib_dir
	if use prefix; then
		lib_dir=lib
	else
		lib_dir=lib32
	fi
	dodir /usr/${lib_dir}/
	mv usr/lib/* "${ED}"/usr/${lib_dir}/ || die
}