]> git.armaanb.net Git - asd-repo.git/blobdiff - junk/tlp/build
Create junk repo
[asd-repo.git] / junk / tlp / build
diff --git a/junk/tlp/build b/junk/tlp/build
new file mode 100755 (executable)
index 0000000..ca9a77d
--- /dev/null
@@ -0,0 +1,19 @@
+#!/bin/sh -e
+
+# This is needed since tlp uses the non posix compliant -w flag of flock.
+patch -p1 < tlp-no-flock-wait.patch
+
+export DESTDIR="$1"
+export TLP_BIN=/usr/bin
+export TLP_SBIN=/usr/bin
+export TLP_ULIB=/usr/lib/udev
+export TLP_WITH_ELOGIND=0
+export TLP_WITH_SYSTEMD=0
+export TLP_NO_BASHCOMP=1
+export TLP_NO_INIT=1
+export TLP_NO_TPACPI=1
+export TLP_NMDSP=/dev/null
+
+make
+make install
+make install-man