summaryrefslogtreecommitdiff
path: root/~lukeshu/parabolaweb-git/Makefile
diff options
context:
space:
mode:
authorLuke Shumaker <LukeShu@sbcglobal.net>2012-05-06 21:37:01 -0400
committerLuke Shumaker <LukeShu@sbcglobal.net>2012-05-06 21:37:01 -0400
commitef70ca717bdecae1b909b8b24970e81eee20b985 (patch)
tree77883bc43e2746982f494769b813e18964f1eaed /~lukeshu/parabolaweb-git/Makefile
parent5f338c195e399f2c2486e06be0851d4f597162d7 (diff)
downloadabslibre-ef70ca717bdecae1b909b8b24970e81eee20b985.tar.gz
abslibre-ef70ca717bdecae1b909b8b24970e81eee20b985.tar.bz2
abslibre-ef70ca717bdecae1b909b8b24970e81eee20b985.zip
Make parabolaweb-git not actually clone parabolaweb, but provide parabolaweb tools
Diffstat (limited to '~lukeshu/parabolaweb-git/Makefile')
-rw-r--r--~lukeshu/parabolaweb-git/Makefile26
1 files changed, 26 insertions, 0 deletions
diff --git a/~lukeshu/parabolaweb-git/Makefile b/~lukeshu/parabolaweb-git/Makefile
new file mode 100644
index 000000000..55115aba3
--- /dev/null
+++ b/~lukeshu/parabolaweb-git/Makefile
@@ -0,0 +1,26 @@
+all:
+ makepkg
+
+python_packages=south
+python2_packages=markdown|psycopg2|pyinotify|pytz
+requirements= https://projects.parabolagnulinux.org/parabolaweb.git/plain/requirements_prod.txt
+
+requirements_prod.txt: WEB
+ rm -f $@
+ wget --no-check-certificate $(requirements)
+
+deps-ver.txt: requirements_prod.txt
+ sed -r -e 's/.*/\L&/' -e 's/==/=/' \
+ -e 's/^(${python_packages})/python-&/' \
+ -e 's/^(${python2_packages})/python2-&/' $< >$@
+
+deps-nover.txt: deps-ver.txt
+ sed 's/[<>=].*//' $< >$@
+
+clean:
+ rm requirements_prod.txt deps-ver.txt deps-nover.txt
+
+WEB: FORCE
+FORCE: PHONY
+PHONY:
+.PHONY: PHONY