blob: 0d0acf34e795a9c4bfb4a573f6291a670fab987c (
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
43
|
# Copyright 1999-2002 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/app-misc/rox/rox-1.2.1-r1.ebuild,v 1.4 2002/10/17 00:19:01 vapier Exp $
S=${WORKDIR}/${P}
DESCRIPTION="ROX-Filer is a fast and powerful graphical file manager"
HOMEPAGE="http://rox.sourceforge.net"
BPN="rox-base"
BPV="1.0.2"
BP=${BPN}-${BPV}
SRC_URI="mirror://sourceforge/rox/${BP}.tgz
mirror://sourceforge/rox/${P}.tgz"
DEPEND="=x11-libs/gtk+-1.2*
>=media-libs/gdk-pixbuf-0.13
dev-libs/libxml2"
RDEPEND="${DEPEND}"
SLOT="1.2"
LICENSE="GPL-2"
KEYWORDS="x86"
src_install() {
# libxml2 header fix
CFLAGS="${CFLAGS} -I/usr/include/libxml2/libxml -I/usr/include/libxml2"
cd ${WORKDIR}/${BP}/Choices
dodir /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 ${S}
doman rox.1
dodir /usr/share/rox
dodir /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
}
|