4 PNAME="python-efl-core-demo"
6 SECTION="user/accessories"
8 DESC="Enlightenment Foundation Libraries Core - Python Bindings Demos"
10 This package demonstrate use of python-efl-core
12 Homepage: http://www.enlightenment.org/
15 DEPENDS="python-efl-core (>= 0.1.1_indt3)"
18 DESTDIR="/tmp/$PNAME-$ARCH"
25 if [ x"$NODESTDIR" != x1 ]; then
30 LOG_PREFIX="$(basename $0)"
34 EXAMPLES_DIR="$DESTDIR/usr/share/python-efl-core-demo/examples/"
35 MENU_DIR="$DESTDIR/usr/share/applications/hildon"
37 mkdir -p "$EXAMPLES_DIR"
40 cat > "$MENU_DIR/01-app_launcher.desktop" <<EOF
45 Name=Edje App Launcher Demo
46 Exec=/usr/share/python-efl-core-demo/examples/01-app_launcher.py
49 cd python-edje/examples/evas-demo/01-app_launcher/
50 cp 01-app_launcher.py $EXAMPLES_DIR
51 chmod +x $EXAMPLES_DIR/01-app_launcher.py
52 #edje_cc 01-app_launcher.edc || die "Failed to compile theme 01-app_launcher"
53 cp 01-app_launcher.edj $EXAMPLES_DIR
57 cat > "$MENU_DIR/02-vkbd.desktop" <<EOF
62 Name=Edje Virtual Keyboard
63 Exec=/usr/share/python-efl-core-demo/examples/02-vkbd.py
66 cd python-edje/examples/evas-demo/02-vkbd/
67 cp 02-vkbd.py $EXAMPLES_DIR
68 chmod +x $EXAMPLES_DIR/02-vkbd.py
69 #edje_cc 02-vkbd.edc || die "Failed to compile theme 02-vkbd"
70 cp 02-vkbd.edj $EXAMPLES_DIR
75 if [ x"$NODESTDIR" != x1 ]; then
77 tar czf $DESTDIR.tar.gz .
81 SIZE=$(du -sc $DESTDIR | grep total | sed s/total//)
96 Maintainer: Gustavo Sverzut Barbieri <gustavo.barbieri@openbossa.org>
97 Build-Depends: $BDEPENDS
102 echo 2.0 > debian-binary
103 tar czf control.tar.gz control
104 (cd $DESTDIR; tar czf $PDIR/data.tar.gz .)
105 rm -f ${PNAME}_${PVER}.deb
106 ar q ${PNAME}_${PVER}_armel.deb debian-binary control.tar.gz data.tar.gz
107 echo $PWD/${PNAME}_${PVER}_armel.deb