aboutsummaryrefslogtreecommitdiff
blob: 11447c71c25116eaf18d4e06aa25d159b8871b7e (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

DEBVER="3.2p1.4-28.1"

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
}