development/SilverCity: Added to 12.0 repository

This commit is contained in:
Jick Nan 2010-05-11 20:00:20 +02:00 committed by Robby Workman
parent a98325d294
commit 6149384840
4 changed files with 75 additions and 0 deletions

View File

@ -0,0 +1,5 @@
SilverCity (Python interface to Scintilla lexers)
SilverCity is a lexing package, based on Scintilla, that can provide
lexical analysis for over 20 programming and markup langauges. Included
in the package are modules to convert source code to syntax-styled HTML.

View File

@ -0,0 +1,43 @@
#!/bin/sh
# Slackware build script for SilverCity.
# Written by Jick Nan (jick.nan@gmail.com)
PRGNAM=SilverCity
VERSION=0.9.7
ARCH=${ARCH:-i486}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
CWD=$(pwd)
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
cd $TMP
rm -rf $PRGNAM-$VERSION
tar -xzvf $CWD/$PRGNAM-$VERSION.tar.gz || exit 1
cd $PRGNAM-$VERSION || exit 1
chown -R root:root .
chmod -R u+w,go+r-w,a-s .
python setup.py bdist || exit 1
tar zxvf dist/$PRGNAM-$VERSION.linux-i686.tar.gz -C $PKG || exit 1
( cd $PKG
find . | xargs file | grep "executable" | grep ELF | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null
find . | xargs file | grep "shared object" | grep ELF | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null
)
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
cp -a PKG-INFO *.txt $PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
find $PKG/usr/doc/$PRGNAM-$VERSION -type f -exec chmod 0644 {} \;
mkdir -p $PKG/install
cat $CWD/slack-desc > $PKG/install/slack-desc
cd $PKG
/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.tgz

View File

@ -0,0 +1,8 @@
PRGNAM="SilverCity"
VERSION="0.9.7"
HOMEPAGE="http://silvercity.sourceforge.net/"
DOWNLOAD="http://downloads.sourceforge.net/silvercity/SilverCity-0.9.7.tar.gz"
MD5SUM="4ae4f9691798385dbde3df9cbb228e8c"
MAINTAINER="Jick Nan"
EMAIL="jick.nan@gmail.com"
APPROVED="rworkman"

View File

@ -0,0 +1,19 @@
# HOW TO EDIT THIS FILE:
# The "handy ruler" below makes it easier to edit a package description. Line
# up the first '|' above the ':' following the base package name, and the '|'
# on the right side marks the last column you can put a character in. You must
# make exactly 11 lines for the formatting to be correct. It's also
# customary to leave one space after the ':'.
|-----handy-ruler------------------------------------------------------|
SilverCity: SilverCity (Python interface to Scintilla lexers)
SilverCity:
SilverCity: SilverCity is a lexing package, based on Scintilla, that can
SilverCity: provide lexical analysis for over 20 programming and markup
SilverCity: languages. Included in the package are modules to convert
SilverCity: source code to syntax-styled HTML.
SilverCity:
SilverCity:
SilverCity:
SilverCity:
SilverCity: