LICENSE = "GPL"
SECTION = "base"
PRIORITY = "required"
-PR = "r11"
+PR = "r12"
SRC_URI = "http://www.busybox.net/downloads/busybox-${PV}.tar.gz \
file://add-getkey-applet.patch;patch=1 \
file://readlink.patch;patch=1 \
file://iproute-flush-cache.patch;patch=1;pnum=0 \
file://rmmod.patch;patch=1 \
+ file://below.patch;patch=1 \
file://defconfig \
file://busybox-cron \
file://busybox-httpd \
+DESCRIPTION = "Opie-Ftp"
+SECTION = "opie/applications"
+PRIORITY = "optional"
+MAINTAINER = "Team Opie <opie@handhelds.org>"
+LICENSE = "GPL"
+DEPENDS = "libopiecore2 opie-ftplib"
+I18N_FILES = "opieftp.ts"
+
+APPNAME = "opieftp"
+
+TAG = "${@'v' + bb.data.getVar('PV',d,1).replace('.', '_')}"
+SRC_URI = "${HANDHELDS_CVS};tag=${TAG};module=opie/noncore/net/opieftp \
+ ${HANDHELDS_CVS};tag=${TAG};module=opie/pics \
+ ${HANDHELDS_CVS};tag=${TAG};module=opie/apps"
+
+S = "${WORKDIR}/${APPNAME}"
+
+inherit opie
+
+# FILES plugins/application/libopieftp.so* bin/opieftp pics/opieftp apps/Applications/opieftp.desktop
+do_install() {
+ install -d ${D}${palmtopdir}/pics/${APPNAME}/
+ install -m 0644 ${WORKDIR}/pics/${APPNAME}/*.png ${D}${palmtopdir}/pics/${APPNAME}/
+}
+
case "$ACTION" in
'insert')
- # Get available partitions through dmesg. The "tail -1" is needed as
- # sometimes the partitions are printed twice by the kernel.
- #OK_PARTS="`dmesg | tail -3 | grep mmcda | tail -1| sed s/^.*\:\ //`"
+ # Read available partitions from /proc/partitions.
OK_PARTS="`cat /proc/partitions |awk '{print $4}'| grep mmcd`"
if test "`echo "$OK_PARTS" | wc -l | awk '{print $1}`" -gt 1