summaryrefslogtreecommitdiffstats
path: root/python-cssutils
diff options
context:
space:
mode:
author Eric Hameleers <alien@slackware.com>2010-09-25 21:43:23 +0000
committer Eric Hameleers <alien@slackware.com>2010-09-25 21:43:23 +0000
commitcd6a2951e59c1714acabf63ab3a8d85f06caf26d (patch)
treeed19f745baa154809bc6554cb5d6a24b40f958cf /python-cssutils
parent76bbddf9d8f7ab48b4fcd8330a6ecf86dbea34e2 (diff)
downloadasb-cd6a2951e59c1714acabf63ab3a8d85f06caf26d.tar.gz
asb-cd6a2951e59c1714acabf63ab3a8d85f06caf26d.tar.xz
Name changed to python-cssutils
Diffstat (limited to 'python-cssutils')
-rwxr-xr-xpython-cssutils/build/python-cssutils.SlackBuild13
-rw-r--r--python-cssutils/build/slack-desc24
2 files changed, 19 insertions, 18 deletions
diff --git a/python-cssutils/build/python-cssutils.SlackBuild b/python-cssutils/build/python-cssutils.SlackBuild
index ee9e3113..9885eedb 100755
--- a/python-cssutils/build/python-cssutils.SlackBuild
+++ b/python-cssutils/build/python-cssutils.SlackBuild
@@ -25,7 +25,7 @@
# Slackware SlackBuild script
# ===========================
# By: Eric Hameleers <alien@slackware.com>
-# For: cssutils
+# For: python-cssutils
# Descr: CSS parser and library for Python
# URL: http://code.google.com/p/cssutils/
# Needs:
@@ -33,7 +33,7 @@
# 0.9.7b3-1: 25/Sep/2010 by Eric Hameleers <alien@slackware.com>
# * Initial build.
#
-# Run 'sh cssutils.SlackBuild' to build a Slackware package.
+# Run 'sh python-cssutils.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=cssutils
+PRGNAM=python-cssutils
+SRCNAM=cssutils
VERSION=${VERSION:-0.9.7b3}
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}.zip"
-SRCURL="http://cssutils.googlecode.com/files/${PRGNAM}-${VERSION}.zip"
+SOURCE="$SRCDIR/${SRCNAM}-${VERSION}.zip"
+SRCURL="http://cssutils.googlecode.com/files/${SRCNAM}-${VERSION}.zip"
##
## --- with a little luck, you won't have to edit below this point --- ##
@@ -127,7 +128,7 @@ echo "++"
cd $TMP/tmp-$PRGNAM
echo "Extracting the source archive(s) for $PRGNAM..."
unzip ${SOURCE} || tar -xvf ${SOURCE}
-cd ${PRGNAM}-${VERSION}
+cd ${SRCNAM}-${VERSION}
chown -R root:root .
chmod -R u+w,go+r-w,a+X-s .
diff --git a/python-cssutils/build/slack-desc b/python-cssutils/build/slack-desc
index 0e453808..c7f176e6 100644
--- a/python-cssutils/build/slack-desc
+++ b/python-cssutils/build/slack-desc
@@ -5,15 +5,15 @@
# make exactly 11 lines for the formatting to be correct. It's also
# customary to leave one space after the ':'.
- |-----handy-ruler------------------------------------------------------|
-cssutils: cssutils (CSS parser and library for Python)
-cssutils:
-cssutils: A Python package to parse and build CSS Cascading Style Sheets.
-cssutils: DOM only, not any rendering facilities!
-cssutils:
-cssutils:
-cssutils:
-cssutils:
-cssutils:
-cssutils: cssutils home: http://code.google.com/p/cssutils/
-cssutils:
+ |-----handy-ruler------------------------------------------------------|
+python-cssutils: cssutils (CSS parser and library for Python)
+python-cssutils:
+python-cssutils: A Python package to parse and build CSS Cascading Style Sheets.
+python-cssutils: DOM only, not any rendering facilities!
+python-cssutils:
+python-cssutils:
+python-cssutils:
+python-cssutils:
+python-cssutils:
+python-cssutils: cssutils home: http://code.google.com/p/cssutils/
+python-cssutils: