summaryrefslogtreecommitdiffstats
path: root/remote/tools/systemd/build.systemd
diff options
context:
space:
mode:
authorJonathan Bauer2012-12-11 15:11:41 +0100
committerJonathan Bauer2012-12-11 15:11:41 +0100
commitd3bb9107163e622fe9f2702e1a6572746f149d36 (patch)
tree0763b6d740d7365808496055493577ebc4faad90 /remote/tools/systemd/build.systemd
parentREQUIRED_FILES can be path or filename, searching accordingly. Added base too... (diff)
downloadtm-scripts-d3bb9107163e622fe9f2702e1a6572746f149d36.tar.gz
tm-scripts-d3bb9107163e622fe9f2702e1a6572746f149d36.tar.xz
tm-scripts-d3bb9107163e622fe9f2702e1a6572746f149d36.zip
reworked setup-tools, generation of base dir structure of stage3.2 with tool named base
Diffstat (limited to 'remote/tools/systemd/build.systemd')
-rw-r--r--remote/tools/systemd/build.systemd33
1 files changed, 0 insertions, 33 deletions
diff --git a/remote/tools/systemd/build.systemd b/remote/tools/systemd/build.systemd
deleted file mode 100644
index af57f8da..00000000
--- a/remote/tools/systemd/build.systemd
+++ /dev/null
@@ -1,33 +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 xJf $VERSION.tar.xz -C src/
- rm $VERSION.tar.xz
- touch .fetched_source
- fi
-}
-
-install_dependencies()
-{
- # quick fix for missing libkmod repo...
- add-apt-repository --force-yes ppa:pitti/systemd
- apt-get update --force-yes
- apt-get install --force-yes $DEPS
-}
-
-build ()
-{
- if [ ! -e .built ]; then
- cd src/$VERSION
- ./configure --disable-manpages
- make
- [ ! -d $TOOL_DIR/$TOOL/build ] && mkdir -p $TOOL_DIR/$TOOL/build
- DESTDIR=$TOOL_DIR/$TOOL/build make install
- cd -
- touch .built
- fi
-}