blob: 117c723c237c5126d49c01aeb93d17a68b342aa4 (
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
|
# Copyright 1999-2007 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-util/helpblocks/helpblocks-1.19.ebuild,v 1.3 2007/09/25 21:46:35 mrness Exp $
DESCRIPTION="HTML Help Editor for wxWidgets"
HOMEPAGE="http://www.helpblocks.com/"
SRC_URI="http://www.helpblocks.com/HelpBlocks-${PV}-i386-gtk2-unicode-suse92.tar.gz"
SLOT="0"
LICENSE="as-is"
KEYWORDS="-* ~amd64 ~x86"
IUSE=""
DEPEND=""
RDEPEND=">=x11-libs/gtk+-2
>=media-libs/libpng-1.2
media-libs/jpeg
>=media-libs/tiff-3
amd64? ( app-emulation/emul-linux-x86-gtklibs )"
S="${WORKDIR}"
RESTRICT="strip" # the helpblocks program is already stripped
src_install() {
dodir /opt/helpblocks
tar -xzf HelpBlocksData.tar.gz -C "${D}/opt/helpblocks" || die "failed to extract data from tarball"
dosym /opt/helpblocks/helpblocks.xpm /usr/share/pixmaps/helpblocks.xpm
insinto /usr/share/applications
doins "${FILESDIR}/helpblocks.desktop"
newbin "${FILESDIR}/helpblocks.sh" helpblocks
}
|