blob: 04360618fdd7bf8e78377ba8d18b6aa3eefb85f4 (
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
34
35
36
37
38
39
40
41
42
|
# Copyright 1999-2002 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License, v2 or later
# Author Bart Verwilst <verwilst@gentoo.org>
# $Header: /var/cvsroot/gentoo-x86/app-misc/rox/rox-1.2.0.ebuild,v 1.3 2002/05/23 06:50:09 seemant Exp $
HOMEPAGE="http://rox.sourceforge.net"
DESCRIPTION="ROX-Filer is a fast and powerful graphical file manager"
S=${WORKDIR}/${P}
SRC_URI="http://prdownloads.sourceforge.net/rox/rox-base-1.0.1.tgz
http://prdownloads.sourceforge.net/rox/${P}.tgz"
DEPEND="virtual/glibc
>=x11-base/xfree-4.0.3
=x11-libs/gtk+-1.2*
>=media-libs/gdk-pixbuf-0.13
dev-libs/libxml2"
RDEPEND="${DEPEND}"
src_install() {
# libxml2 header fix
CFLAGS="${CFLAGS} -I/usr/include/libxml2/libxml -I/usr/include/libxml2"
cd ${WORKDIR}/rox-base-1.0.1/Choices
mkdir -p ${D}/usr/share/Choices
cp -rf MIME-icons/ ${D}/usr/share/Choices/
cp -rf MIME-info/ ${D}/usr/share/Choices/
cp -rf MIME-types/ ${D}/usr/share/Choices/
cd ${WORKDIR}/${P}
doman rox.1
mkdir -p ${D}/usr/share/rox
mkdir -p ${D}/usr/bin
cp -rf ROX-Filer/ ${D}/usr/share/
${D}/usr/share/ROX-Filer/AppRun --compile
echo "#!/bin/sh" > "${D}/usr/bin/rox"
echo "exec /usr/share/ROX-Filer/AppRun \"\$@\"" >> "${D}/usr/bin/rox"
chmod a+x ${D}/usr/bin/rox
}
|