# Copyright 1999-2004 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Header: /usr/local/cvsrepos/StartingBlocks/apps/helpblocks/scripts/HelpBlocks-Gentoo.ebuild,v 1.3 2006/02/09 09:19:19 anthemion Exp $ # ebuild contributed by John Ratliff # based on a script by Vaclav Slavik # Modified to work with the new installer by Michael Kesler # * 2006-01-13 Michael Kesler # - Modified to use the Unicode builds since ANSI # builds are no longer supported. SLOT="0" LICENSE="as-is" KEYWORDS="x86" IUSE="gtk2" DESCRIPTION="HTML Help Editor" HOMEPAGE="http://www.helpblocks.com/" MY_P="${PN}/HelpBlocks" http://www.helpblocks.com/HelpBlocks-1.17-i386-gtk2-unicode-suse92.tar.gz SRC_URI="http://www.helpblocks.com/HelpBlocks-${PV}-i386-gtk2-unicode-suse92.tar.gz" RDEPEND=">=sys-libs/glibc-2.2.9 >=x11-libs/gtk+-2 >=media-libs/libpng-1.2 media-libs/jpeg >=media-libs/tiff-3" src_install() { BASE="/opt/HelpBlocks-${PV}" dodir ${BASE} # cp -R ${WORKDIR}/DialogBlocks-${PV} ${D}/opt cd ${D}${BASE} tar -xvzf ${WORKDIR}/HelpBlocksData.tar.gz dodir /usr/share/pixmaps dosym ${BASE}/helpblocks.xpm /usr/share/pixmaps/helpblocks.xpm cat >${D}${BASE}/helpblocks.sh <<-EOF #! /bin/sh export HELPBLOCKSDIR=${BASE} ${BASE}/helpblocks EOF chmod 755 ${D}${BASE}/helpblocks.sh dodir /usr/bin dosym ${BASE}/helpblocks.sh /usr/bin/helpblocks }