Fully end to end encrypted anonymous chat program. Server only stores public key lookup for users and the encrypted messages. No credentials are transfered to the server, but kept in local browser storage. This allows 100% safe chatting. https://safechat.ch
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

47 lines
1.3 KiB

## @id $Id$
## 1 2 3 4 5 6 7 8
## 45678901234567890123456789012345678901234567890123456789012345678901234567890
cordova_sources = hooks platforms plugins www
EXTRA_DIST = config.xml.in ${cordova_sources}
ANDROID = safechat.apk
#ANDROID_SRC = platforms/android/build/outputs/apk/android-release-unsigned.apk
ANDROID_SRC = platforms/android/build/outputs/apk/android-debug.apk
if CORDOVA
wwwdir = ${pkgdatadir}/html
www_DATA = ${ANDROID}
endif
${ANDROID_SRC}:
for file in ${cordova_sources}; do \
test -e "$${file}" || \
( cp -r "@srcdir@/$${file}" "$${file}" && \
chmod -R u+w "$${file}" ); \
done
if [ "$$(whoami)" != "root" ]; then \
cordova build --debug || cordova build --debug; \
fi
${ANDROID}: ${ANDROID_SRC}
if [ "$$(whoami)" != "root" ]; then \
cp $< $@; \
fi
clean-local:
-platforms/android/cordova/clean
distclean-local:
-rm -r platforms/android/.gradle
for file in ${cordova_sources}; do \
if test "@srcdir@/$${file}" != "$${file}" \
-a -e "$${file}" \
-a "@srcdir@" != "." \
-a "@srcdir@" != "./"; then \
chmod -R u+w "$${file}" && rm -r "$${file}"; \
fi; \
done
CLEANFILES = ${ANDROID} ${ANDROID_SRC}
MAINTAINERCLEANFILES = makefile.in