diff options
author | Hanno Böck <hanno@gentoo.org> | 2003-02-11 17:46:38 +0000 |
---|---|---|
committer | Hanno Böck <hanno@gentoo.org> | 2003-02-11 17:46:38 +0000 |
commit | f0f2ab572bf0f0f3a1f31ce1ae03c2a37a8cc65f (patch) | |
tree | 89119752ccaf158c14a3d2ddd56d6935cb91d929 /app-misc/endeavour/endeavour-2.1.21.ebuild | |
parent | Added hppa to keywords. (diff) | |
download | gentoo-2-f0f2ab572bf0f0f3a1f31ce1ae03c2a37a8cc65f.tar.gz gentoo-2-f0f2ab572bf0f0f3a1f31ce1ae03c2a37a8cc65f.tar.bz2 gentoo-2-f0f2ab572bf0f0f3a1f31ce1ae03c2a37a8cc65f.zip |
new version of endeavour 2.1.21
Diffstat (limited to 'app-misc/endeavour/endeavour-2.1.21.ebuild')
-rw-r--r-- | app-misc/endeavour/endeavour-2.1.21.ebuild | 65 |
1 files changed, 65 insertions, 0 deletions
diff --git a/app-misc/endeavour/endeavour-2.1.21.ebuild b/app-misc/endeavour/endeavour-2.1.21.ebuild new file mode 100644 index 000000000000..0a5fbb17c677 --- /dev/null +++ b/app-misc/endeavour/endeavour-2.1.21.ebuild @@ -0,0 +1,65 @@ +# Copyright 1999-2002 Gentoo Technologies, Inc. +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/app-misc/endeavour/endeavour-2.1.21.ebuild,v 1.1 2003/02/11 17:46:38 hanno Exp $ + +IUSE="" + +M=endeavour2-mimetypes +S=${WORKDIR}/${P} +DESCRIPTION="This is a powerful file and image browser" +HOMEPAGE="http://wolfpack.twu.net/Endeavour2/" +SRC_URI="ftp://wolfpack.twu.net/users/wolfpack/${P}.tar.bz2 + ftp://wolfpack.twu.net/users/wolfpack/${M}.tgz" + +SLOT="0" +LICENSE="GPL-2" +KEYWORDS="~x86 ~ppc" + +DEPEND="sys-apps/bzip2 + =x11-libs/gtk+-1.2* + >=media-libs/imlib-1.9.14" + +src_unpack() { + unpack ${P}.tar.bz2 + unpack ${M}.tgz + + if [ "${ARCH}" = "ppc" -o "${ARCH}" = "sparc" -o "${ARCH}" = "sparc64" ]; then + # This patch fixes inverted color on big endian machines + einfo "Applying big endian patch..." + cd ${S}; patch -p0 < ${FILESDIR}/endeavour-2.1.20-bigendian.diff > /dev/null || die + fi +} + +src_compile() { + cd ${S} + ./configure Linux \ + --prefix=/usr + emake || die "Parallel make failed" +} + + +src_install() { + + dodoc AUTHORS HACKING INSTALL README TODO + + cd endeavour2 + + dobin endeavour2 + bunzip2 endeavour2.1.bz2 + doman endeavour2.1 + + dodir /usr/share/endeavour2 + cp -R data/* ${D}/usr/share/endeavour2 + + cd images + insinto /usr/share/icons + doins endeavour_48x48.xpm image_browser_48x48.xpm icon_trash_48x48.xpm \ + icon_trash_empty_48x48.xpm + + # install mimetypes + cd ${WORKDIR}/${M} + mv README README.mimetypes + dodoc README.mimetypes + insinto /usr/share/endeavour2/ + doins mimetypes.ini +} |