diff options
| author | Jonathan Bauer | 2013-02-18 14:55:18 +0100 |
|---|---|---|
| committer | Jonathan Bauer | 2013-02-18 14:55:18 +0100 |
| commit | aa917a31282dfcd0d48d0bcb4733f537f327292e (patch) | |
| tree | 4b808cf35fe213ff02ef291f92a5a57f73bb9481 /remote/tools | |
| parent | policykit 105 (diff) | |
| download | tm-scripts-aa917a31282dfcd0d48d0bcb4733f537f327292e.tar.gz tm-scripts-aa917a31282dfcd0d48d0bcb4733f537f327292e.tar.xz tm-scripts-aa917a31282dfcd0d48d0bcb4733f537f327292e.zip | |
policykit fixes
Diffstat (limited to 'remote/tools')
| -rw-r--r-- | remote/tools/policykit-105/policykit.build | 51 | ||||
| -rw-r--r-- | remote/tools/policykit-105/policykit.conf | 7 |
2 files changed, 0 insertions, 58 deletions
diff --git a/remote/tools/policykit-105/policykit.build b/remote/tools/policykit-105/policykit.build deleted file mode 100644 index fc1c8aa5..00000000 --- a/remote/tools/policykit-105/policykit.build +++ /dev/null @@ -1,51 +0,0 @@ -#tool/distro specific functions for fetching, building and installing dependencies - -fetch_source () { - if [ ! -e .fetched_source ]; then - [ ! -d src ] && mkdir src - wget $URL - tar xfz $VERSION.tar.gz -C src/ - rm $VERSION.tar.gz - touch .fetched_source - fi -} - -install_dependencies() { - apt-get install -y $DEPS -} - -build () { - BUILDDIR=$TOOL_DIR/$TOOL/build - - if [ ! -e .built ]; then - cd src/$VERSION - SYSTEMD_LIBS="-L${TOOL_DIR}/systemd/build/usr/lib/" SYSTEMD_CFLAGS="-I${TOOL_DIR}/systemd/build/usr/include -I${TOOL_DIR}/systemd/build/usr/include/systemd -lsystemd-login -lsystemd-daemon" ./configure --enable-systemd=yes --prefix="/" --datarootdir="/usr/share" - - make - [ ! -d $BUILDDIR ] && mkdir -p $BUILDDIR - DESTDIR=$BUILDDIR make install - - COPYLIST="list_dpkg_output" - [ -e $COPYLIST ] && rm $COPYLIST - - for PACKAGE in ${REQUIRED_PACKAGES} - do - for FILE in $(dpkg -L ${PACKAGE} | grep -v share/doc | grep -v share/man) - do - [ ! -d $FILE ] && echo $FILE >> $COPYLIST - done - done - - # prepare target dir & copy there - [ ! -d $BUILDDIR ] && mkdir -p $BUILDDIR - tar -cpv $(cat $COPYLIST|sort -u) | tar -xpv -C $BUILDDIR - - cd - - touch .built - - fi -} - -post_copy() { - : -} diff --git a/remote/tools/policykit-105/policykit.conf b/remote/tools/policykit-105/policykit.conf deleted file mode 100644 index b6f062ff..00000000 --- a/remote/tools/policykit-105/policykit.conf +++ /dev/null @@ -1,7 +0,0 @@ -VERSION=polkit-0.105 -URL=http://www.freedesktop.org/software/polkit/releases/polkit-0.105.tar.gz -DEPS="libmozjs185-dev" -REQUIRED_PACKAGES="" -REQUIRED_BINARIES="" -REQUIRED_DIRECTORIES="/bin /etc /lib /libexec /usr/share/dbus-1 /usr/share/polkit-1" -REQUIRED_FILES="" |
