termux-packages/packages/daemonize/build.sh
Fredrik Fornwall c6c2957062 daemonize: Use $PREFIX instead of /
As / is no longer readable on Android 7, we switch to chdir($PREFIX)
instead of chdir(/) to get a readable directory.

Fixes #614.
2016-12-23 03:54:21 -05:00

9 lines
469 B
Bash

TERMUX_PKG_HOMEPAGE=http://software.clapper.org/daemonize/
TERMUX_PKG_DESCRIPTION="Run a command as a Unix daemon"
TERMUX_PKG_VERSION=1.7.7
TERMUX_PKG_BUILD_REVISION=1
TERMUX_PKG_SRCURL=https://github.com/bmc/daemonize/archive/release-${TERMUX_PKG_VERSION}.tar.gz
TERMUX_PKG_SHA256=b3cafea3244ed5015a3691456644386fc438102adbdc305af553928a185bea05
TERMUX_PKG_FOLDERNAME=daemonize-release-$TERMUX_PKG_VERSION
TERMUX_PKG_EXTRA_CONFIGURE_ARGS="ac_cv_func_setpgrp_void=yes"