summaryrefslogtreecommitdiff
path: root/packages
diff options
context:
space:
mode:
authorKoen Kooi <koen@openembedded.org>2006-09-05 08:13:12 +0000
committerKoen Kooi <koen@openembedded.org>2006-09-05 08:13:12 +0000
commitad12adb814e3c3b749eae780c45e32047744e429 (patch)
treeccc03a80ce65524a6cba7276284af454ad18332f /packages
parent966d545b994dc7a6831a181f273cdfb77b9a78f6 (diff)
parent76abf1c2b1388f76d700b9ab16f238346d5170bf (diff)
merge of '5fca8a9235857878b0071b8bbb8836022bc08a23'
and 'b91a2f03f8871b81762acbcf8d524de4970ca8ec'
Diffstat (limited to 'packages')
-rw-r--r--packages/rox/rox-filer_2.5.bb36
1 files changed, 35 insertions, 1 deletions
diff --git a/packages/rox/rox-filer_2.5.bb b/packages/rox/rox-filer_2.5.bb
index 87552ddfc2..868720da12 100644
--- a/packages/rox/rox-filer_2.5.bb
+++ b/packages/rox/rox-filer_2.5.bb
@@ -2,6 +2,8 @@ DESCRIPTION = "the file manager at the core of the ROX desktop"
HOMEPAGE = "http://rox.sf.net"
LICENSE = "GPL"
DEPENDS = "gtk+"
+RDEPENDS = "shared-mime-info"
+PR = "r1"
SRC_URI = "${SOURCEFORGE_MIRROR}/rox/${P}.tar.bz2 \
file://no-strip-objcopy.patch;patch=1;pnum=3"
@@ -17,5 +19,37 @@ do_compile() {
do_install() {
install -d ${D}${bindir}
install -m 755 ../ROX-Filer ${D}${bindir}
-}
+ install -d ${D}${datadir}/rox/Choices
+ install -d ${D}${datadir}/rox/images
+ install -d ${D}${datadir}/mime/packages
+ install -d ${D}${datadir}/doc/rox/html
+ install -d ${D}${mandir}/man1
+
+ gzip -c9 ${WORKDIR}/${P}/rox.1 >${D}${mandir}/man1/rox.1.gz
+
+ cp -r ${WORKDIR}/${P}/Choices ${D}${datadir}/rox
+ rm -rf ${D}${datadir}rox/Choices/MIME-info/
+ cp ${WORKDIR}/${P}/ROX-Filer/*.xml ${D}${datadir}/rox
+
+ cp ${WORKDIR}/${P}/ROX-Filer/Help/{Changes,README*,TODO} ${D}${datadir}/doc/rox
+ cp ${WORKDIR}/${P}/ROX-Filer/Help/*html ${D}${datadir}/doc/rox/html
+ cp ${WORKDIR}/${P}/ROX-Filer/style.css ${D}${datadir}/doc/rox/html
+ cp -r ${WORKDIR}/${P}/ROX-Filer/images ${D}${datadir}/rox
+ cp -r ${WORKDIR}/${P}/ROX-Filer/ROX ${D}${datadir}/rox
+
+# cp ROX-Filer/ROX-Filer ${D}/usr/bin/rox
+ cp ${WORKDIR}/${P}/ROX-Filer/.DirIcon ${D}${datadir}/rox/.DirIcon
+ cp ${WORKDIR}/${P}/rox.xml ${D}${datadir}/mime/packages
+
+ for $f in ${WORKDIR}/${P}/ROX-Filer/Messages/*.gmo; do
+ export ROXTMP=`basename $f .gmo` ;
+ if [ $ROXTMP == "sp" ]; then
+ export ROXTMP="es" ;
+ fi
+ install -d ${D}${datadir}/locale/$ROXTMP/LC_MESSAGES;
+ cp $f debian/rox-filer/usr/share/locale/$ROXTMP/LC_MESSAGES/rox.mo;
+ done
+
+
+FILES_${PN} += "${datadir}/rox/ ${datadir}/mime/"