blob: 09fbcf140768379fe6ea746a27c6b06765b3a227 (
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
|
# Copyright 1999-2008 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: $
inherit eutils
MY_PN="tlenlinux"
MY_P="${MY_PN}-${PV}"
DESCRIPTION="Tlen IM client"
HOMEPAGE="http://tlen.pl"
SRC_URI="
amd64? ( http://j.o2.pl/idi/${MY_PN}64-${PV}.bin )
x86? ( http://j.o2.pl/idi/${MY_P}.bin )"
LICENSE="tlen"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE=""
RESTRICT="strip"
RDEPEND="=x11-libs/qt-core-4*
=x11-libs/qt-gui-4*"
DEPEND="${RDEPEND}"
src_unpack() {
unpack_makeself
check_license data/license.txt
}
src_install() {
local dir=/opt/tlen
# Prepare directory
dodir ${dir}
# Copy data
cp -r data/* ${D}/${dir} || die "cp failed"
# Install desktop file
insinto /usr/share/applications/
doins tlen.desktop
# Install symlinks
dodir /usr/bin
dosym ${dir}/tlen /usr/bin/tlen
dosym ${dir}/tlen-gdb /usr/bin/tlen-gdb
}
|