summaryrefslogtreecommitdiffstats
path: root/python-lxml/build/python-lxml.SlackBuild
diff options
context:
space:
mode:
author Eric Hameleers <alien@slackware.com>2010-09-25 21:48:13 +0000
committer Eric Hameleers <alien@slackware.com>2010-09-25 21:48:13 +0000
commit22693384e0a841395595ce045bfcd21e5460f7e6 (patch)
tree06d56249c66a86ffb85993c72e8eeaf38a345999 /python-lxml/build/python-lxml.SlackBuild
parentcd6a2951e59c1714acabf63ab3a8d85f06caf26d (diff)
downloadasb-22693384e0a841395595ce045bfcd21e5460f7e6.tar.gz
asb-22693384e0a841395595ce045bfcd21e5460f7e6.tar.xz
Name changed to python-lxml
Diffstat (limited to 'python-lxml/build/python-lxml.SlackBuild')
-rwxr-xr-xpython-lxml/build/python-lxml.SlackBuild13
1 files changed, 7 insertions, 6 deletions
diff --git a/python-lxml/build/python-lxml.SlackBuild b/python-lxml/build/python-lxml.SlackBuild
index 04156327..39347084 100755
--- a/python-lxml/build/python-lxml.SlackBuild
+++ b/python-lxml/build/python-lxml.SlackBuild
@@ -25,7 +25,7 @@
# Slackware SlackBuild script
# ===========================
# By: Eric Hameleers <alien@slackware.com>
-# For: lxml
+# For: python-lxml
# Descr: Python bindings for libxml2 and libxslt
# URL: http://codespeak.net/lxml/
# Needs:
@@ -33,7 +33,7 @@
# 2.2.8-1: 25/Sep/2010 by Eric Hameleers <alien@slackware.com>
# * Initial build.
#
-# Run 'sh lxml.SlackBuild' to build a Slackware package.
+# Run 'sh python-lxml.SlackBuild' to build a Slackware package.
# The package (.tgz) and .txt file as well as build logs are created in /tmp .
# Install it using 'installpkg'.
#
@@ -41,7 +41,8 @@
# Set initial variables:
-PRGNAM=lxml
+PRGNAM=python-lxml
+SRCNAM=lxml
VERSION=${VERSION:-2.2.8}
BUILD=${BUILD:-1}
NUMJOBS=${NUMJOBS:" -j4 "}
@@ -57,8 +58,8 @@ TMP=${TMP:-/tmp/build}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
-SOURCE="$SRCDIR/${PRGNAM}-${VERSION}.tgz"
-SRCURL="http://codespeak.net/${PRGNAM}/${PRGNAM}-${VERSION}.tgz"
+SOURCE="$SRCDIR/${SRCNAM}-${VERSION}.tgz"
+SRCURL="http://codespeak.net/${SRCNAM}/${SRCNAM}-${VERSION}.tgz"
##
## --- with a little luck, you won't have to edit below this point --- ##
@@ -139,7 +140,7 @@ echo "++"
cd $TMP/tmp-$PRGNAM
echo "Extracting the source archive(s) for $PRGNAM..."
tar -xvf ${SOURCE}
-cd ${PRGNAM}-${VERSION}
+cd ${SRCNAM}-${VERSION}
chown -R root:root .
chmod -R u+w,go+r-w,a+X-s .