bb10 packages

Prerequisites

Packages


Packages are compiled statically when possible, targeting BlackBerry 10 OS 10.3.x.

HOWTO

Setting up clitools

  1. Get a terminal emulator Term48 is preferred.
  2. Compile the playbook-dev-tools yourself, or host pbhome.zip somewhere (can be done locally with Python SimpleHTTPServer)
  3. Edit pbinstall.sh to point to the proper URL and run sh pbinstall.sh on your phone to download and set up various CLI tools (gcc, curl, etc.).

Setting up packaging scripts

Download and unzip setup-scripts.zip. Expecting your clitools installation to be in the default documents/clitools directory, run setup.sh to create directories and copy scripts.

Usage

To install a package, run ~/cmds/install-package.sh [path to zipfile]. To uninstall a package, run ~/cmds/uninstall-package.sh [package name].

Creating Packages

Packages should be named [package name].zip. The install directories (bin, lib, etc.) should be in the root of the zipfile. Zip up the install directories with zip [package name].zip bin ....

During installation, the zipfile will be extracted directly to the link created earlier to clitools directory at ~/ct/. The automatically-generated package manifest (list of files) will be written to ~/ct/manifests/[package name].txt.

Contact

Please report any bugs to walrein [at] outlook [dot] com