aboutsummaryrefslogtreecommitdiff
path: root/mod_python/mod_python.SlackBuild
diff options
context:
space:
mode:
authorrhatto <rhatto@370017ae-e619-0410-ac65-c121f96126d4>2006-08-27 20:24:30 +0000
committerrhatto <rhatto@370017ae-e619-0410-ac65-c121f96126d4>2006-08-27 20:24:30 +0000
commitc54421b6b93e21babb4b037f900e9b946363537c (patch)
tree56384743cd363deda1a958e37c3e50d25a745b13 /mod_python/mod_python.SlackBuild
parent297b0d667e558eff2073cdbefa2eeb1bc36906f7 (diff)
downloadslackbuilds-c54421b6b93e21babb4b037f900e9b946363537c.tar.gz
slackbuilds-c54421b6b93e21babb4b037f900e9b946363537c.tar.bz2
added mod_python
git-svn-id: svn+slack://slack.fluxo.info/var/svn/slackbuilds@49 370017ae-e619-0410-ac65-c121f96126d4
Diffstat (limited to 'mod_python/mod_python.SlackBuild')
-rwxr-xr-xmod_python/mod_python.SlackBuild28
1 files changed, 28 insertions, 0 deletions
diff --git a/mod_python/mod_python.SlackBuild b/mod_python/mod_python.SlackBuild
new file mode 100755
index 00000000..59f55ae6
--- /dev/null
+++ b/mod_python/mod_python.SlackBuild
@@ -0,0 +1,28 @@
+#!/bin/bash
+#
+# SlackBuild script to call mod_python.build with correct settings
+#
+
+CWD="`pwd`"
+
+if [ -f "/etc/slackbuildrc" ]; then
+ source /etc/slackbuildrc
+fi
+
+if [ -f "~/.slackbuildrc" ]; then
+ source ~/.slackbuildrc
+fi
+
+# default settings
+PACKAGE="mod_python"
+VERSION=${VERSION:=2.7.11}
+ARCH="x86_64"
+BUILD=${BUILD:=1rha}
+SRC_DIR=${SRC:=$CWD}
+TMP=${TMP:=/tmp}
+
+rm -rf $TMP/$PACKAGE
+mkdir -p $SRC_DIR/$PACKAGE $TMP/$PACKAGE
+
+slacktrack -x $TMP,$SRC_DIR,/dev -jefkzp "$PACKAGE-$VERSION-$ARCH-$BUILD.tgz" "./$PACKAGE.build"
+