# Copyright 1999-2005 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Header: $ S=${WORKDIR} inherit mono eutils DESCRIPTION="Command line client for the PasteHere pastebin." HOMEPAGE="http://www.pastehere.com/" SRC_URI="http://www.pastehere.com/Downloads/Linux/pasteherecore-0.1.tar.bz2" LICENSE="BSD" RESTRICT="nomirror" SLOT="0" KEYWORDS="~x86" IUSE="" DEPEND=">=dev-lang/mono-1.1.6-r1" src_compile() { ./build ./ || die "Build failed" } src_install() { # Install dll into the GAC ebegin "Installing dll into the GAC" gacutil -i ICSharpCode.SharpZipLib.dll -root ${D}/usr/$(get_libdir) \ -gacdir /usr/$(get_libdir) -package ${PN} eend exeinto /usr/share/pastehere doexe PasteHereCore.exe into /usr dobin pasteherecore } pkg_prerm() { # Uninstall dll from GAC ebegin "Uninstalling dll from GAC" gacutil -u ICSharpCode.SharpZipLib -root /usr/$(get_libdir) \ -gacdir /usr/$(get_libdir) -package ${PN} eend }