summaryrefslogtreecommitdiffstats
path: root/remote/tools/policykit
diff options
context:
space:
mode:
authorroot2013-02-27 22:19:53 +0100
committerroot2013-02-27 22:19:53 +0100
commit83dcd2b34cefd5b324b5a4f54be141a858dc5238 (patch)
treed0b5db5602029646fe4af2e22891bed813406258 /remote/tools/policykit
parenttihi (diff)
downloadtm-scripts-83dcd2b34cefd5b324b5a4f54be141a858dc5238.tar.gz
tm-scripts-83dcd2b34cefd5b324b5a4f54be141a858dc5238.tar.xz
tm-scripts-83dcd2b34cefd5b324b5a4f54be141a858dc5238.zip
Generalization:
- Rework install_dependencies: make it a global function, not per tools.build - Determine packet manager of local system (currently supports apt/dpkg and zypper/rpm) - Look for packet manager specific tools.conf.$MANAGER first, use tools.conf otherwise - Added list_package_files which should be used instead of "for $(dpkg -L | grep ...) ... >> ... done"
Diffstat (limited to 'remote/tools/policykit')
-rw-r--r--remote/tools/policykit/policykit.build4
-rw-r--r--remote/tools/policykit/policykit.conf2
2 files changed, 1 insertions, 5 deletions
diff --git a/remote/tools/policykit/policykit.build b/remote/tools/policykit/policykit.build
index a42f48b7..079985ac 100644
--- a/remote/tools/policykit/policykit.build
+++ b/remote/tools/policykit/policykit.build
@@ -6,10 +6,6 @@ fetch_source () {
touch .fetched_source
}
-install_dependencies() {
- apt-get install -y $DEPS
-}
-
build () {
BUILDDIR=$TOOL_DIR/$TOOL/build
diff --git a/remote/tools/policykit/policykit.conf b/remote/tools/policykit/policykit.conf
index c8c27cf3..fbf997f6 100644
--- a/remote/tools/policykit/policykit.conf
+++ b/remote/tools/policykit/policykit.conf
@@ -1,6 +1,6 @@
VERSION=polkit-0.110
URL=http://www.freedesktop.org/software/polkit/releases/polkit-0.110.tar.gz
-DEPS="libmozjs185-dev"
+REQUIRED_DEPENDENCIES="libmozjs185-dev"
REQUIRED_PACKAGES=""
REQUIRED_BINARIES=""
REQUIRED_DIRECTORIES="/bin /etc /lib /usr/share/dbus-1 /usr/share/polkit-1"