parent
d6beeefe74
commit
d23ad60fc8
9 changed files with 221 additions and 100 deletions
@ -1,24 +1,19 @@ |
||||
# if you have android, we need cordova plus more dependencies |
||||
# so we can build an android app |
||||
if test -n "${ANDROID_HOME}"; then |
||||
# all this is needed for android through cordova (phonegap) only |
||||
packages+=("wheezy:::curl:::npm") |
||||
repos+=("Debian|Ubuntu-precise::::::universe") |
||||
repos+=("Ubuntu-precise:::'deb http://archive.ubuntu.com/ubuntu precise universe'") |
||||
repos+=("wheezy:::'deb http://ftp.is.debian.org/debian wheezy-backports main'") |
||||
commands+=("update-alternatives --install /usr/bin/node nodejs /usr/bin/nodejs 100") |
||||
commands+=("wheezy:::curl https://www.npmjs.com/install.sh | sh") |
||||
commands+=("npm install -g cordova") |
||||
commands+=("npm install -g bplist-parser") |
||||
commands+=("npm install -g path-is-absolute") |
||||
commands+=("npm install -g inflight") |
||||
commands+=("chown $(id -u) ${HOME}") |
||||
commands+=("chown -R $(id -u) ${HOME}/.npm") |
||||
commands+=("useradd -d ${HOME} -u $(id -u) $(id -un)") |
||||
envs+=("-e ANDROID_HOME=${ANDROID_HOME}") |
||||
envs+=("-e HOME=${HOME}") |
||||
envs+=("-e TERM=xterm") |
||||
envs+=("-e ANDROID_SDK_HOME=/workdir") |
||||
dirs+=("-v ${ANDROID_HOME}:${ANDROID_HOME}:ro") |
||||
dirs+=("-v ${HOME}/.gnupg:${HOME}/.gnupg:ro") |
||||
fi |
||||
## @id $Id$ |
||||
## |
||||
## This file has been added: |
||||
## - by bootstrap.sh |
||||
## - on Sat, 14 January 2017 11:25:34 +0100 |
||||
## Feel free to change it or even remove and rebuild it, up to your needs |
||||
## |
||||
## 1 2 3 4 5 6 7 8 |
||||
## 45678901234567890123456789012345678901234567890123456789012345678901234567890 |
||||
|
||||
# Use Ubuntu Universe Repository |
||||
repos+=("Ubuntu:::universe") |
||||
|
||||
# Use Marc Wäckerlin's Repository, see https://dev.marc.waeckerlin.org |
||||
repos+=("Debian|Ubuntu:::https://dev.marc.waeckerlin.org/repository") |
||||
repos+=("openSUSE:::https://dev.marc.waeckerlin.org/repository/opensuse/marc-waeckerlin.repo") |
||||
repos+=("Fedora:::https://dev.marc.waeckerlin.org/repository/fedora/marc-waeckerlin.repo") |
||||
repos+=("CentOS:::https://dev.marc.waeckerlin.org/repository/centos/marc-waeckerlin.repo") |
||||
keys+=("https://dev.marc.waeckerlin.org/repository/PublicKey") |
||||
|
@ -1,5 +1,5 @@ |
||||
@PACKAGE@ (@PACKAGE_VERSION@~@DISTRO@.@BUILD_NUMBER@) @DISTRO@; urgency=low |
||||
|
||||
* Please see ChangeLog of @PACKAGE@ |
||||
@DEB_CHANGELOG@ |
||||
|
||||
-- @AUTHOR@ @BUILD_DATE@ |
||||
-- @PACKAGER@ @BUILD_DATE@ |
||||
|
@ -1,11 +1,12 @@ |
||||
Source: @PACKAGE_NAME@ |
||||
Priority: extra |
||||
Maintainer: @AUTHOR@ |
||||
Build-Depends: debhelper, subversion, pkg-config, automake, libtool, autotools-dev, lsb-release, doxygen, graphviz, mscgen, git, nodejs, default-jdk |
||||
Maintainer: @PACKAGER@ |
||||
Build-Depends: debhelper, fakeroot, svn2cl, subversion, subversion-tools, pkg-config, automake, libtool, autotools-dev, pandoc, lsb-release, doxygen, graphviz, mscgen, default-jre-headless|default-jre, nodejs, npm |
||||
|
||||
Package: @PACKAGE_NAME@ |
||||
Section: web |
||||
Section: |
||||
Architecture: any |
||||
Depends: ${shlibs:Depends}, ${misc:Depends}, nodejs |
||||
Depends: ${shlibs:Depends}, ${misc:Depends}, nodejs, npm |
||||
Description: @DESCRIPTION@ |
||||
@README_DEB@ |
||||
|
||||
|
Loading…
Reference in new issue