/[gentoo-x86]/dev-util/helpblocks/helpblocks-1.21-r1.ebuild
Gentoo

Contents of /dev-util/helpblocks/helpblocks-1.21-r1.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.3 - (show annotations) (download)
Wed Sep 5 07:42:44 2012 UTC (2 years, 3 months ago) by jlec
Branch: MAIN
Changes since 1.2: +3 -4 lines
Use domenu instead insinto + doins to install .desktop files

(Portage version: 2.2.0_alpha124/cvs/Linux x86_64)

1 # Copyright 1999-2012 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
3 # $Header: /var/cvsroot/gentoo-x86/dev-util/helpblocks/helpblocks-1.21-r1.ebuild,v 1.2 2011/03/29 13:13:32 angelos Exp $
4
5 EAPI=1
6
7 DESCRIPTION="HTML Help Editor for wxWidgets"
8 HOMEPAGE="http://www.helpblocks.com/"
9 SRC_URI="x86? ( http://www.helpblocks.com/HelpBlocks-${PV}-i386.tar.gz )
10 amd64? ( http://www.helpblocks.com/HelpBlocks-${PV}-x86_64.tar.gz )"
11
12 SLOT="0"
13 LICENSE="as-is"
14 KEYWORDS="-* ~amd64 ~x86"
15 IUSE=""
16
17 DEPEND=""
18 RDEPEND="x11-libs/gtk+:2
19 x11-libs/libXinerama
20 >=media-libs/libpng-1.2
21 media-libs/jpeg
22 >=media-libs/tiff-3"
23
24 S="${WORKDIR}"
25
26 RESTRICT="strip" # the helpblocks program is already stripped
27
28 src_install() {
29 dodir /opt/helpblocks
30 tar -xzf HelpBlocksData.tar.gz -C "${D}/opt/helpblocks" || die "failed to extract data from tarball"
31
32 local i
33 for i in 32x32 48x48 128x128; do
34 dosym /opt/helpblocks/appicons/helpblocks${i}.png /usr/share/icons/hicolor/${i}/apps/helpblocks.png
35 done
36 domenu "${FILESDIR}/helpblocks.desktop"
37 newbin "${FILESDIR}/helpblocks.sh" helpblocks
38 }

  ViewVC Help
Powered by ViewVC 1.1.20