libraries/webkit-sharp: Added to 12.1 repository

This commit is contained in:
Erik Hanson 2010-05-11 22:54:26 +02:00 committed by Robby Workman
parent 4ebba918ce
commit 9779da4693
4 changed files with 78 additions and 0 deletions

View file

@ -0,0 +1,3 @@
Mono/.NET Bindings for the open source WebKit browser engine.
Requires Mono, Gtk-Sharp, and WebKit; all are available at SlackBuilds.org

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------------------------------------------------|
webkit-sharp: webkit-sharp (C# Bindings for WebKit)
webkit-sharp:
webkit-sharp: Mono/.NET Bindings for the open source WebKit browser engine.
webkit-sharp:
webkit-sharp:
webkit-sharp:
webkit-sharp:
webkit-sharp:
webkit-sharp:
webkit-sharp:
webkit-sharp:

View file

@ -0,0 +1,48 @@
#!/bin/sh
# Slackware build script for webkit-sharp
# Written by Erik Hanson erik@slackbuilds.org
PRGNAM=webkit-sharp
VERSION=0.2
ARCH=i486 # Unless you built Mono with a different ARCH, leave this alone.
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
CWD=$(pwd)
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
set -eu
rm -rf $PKG
mkdir -p $TMP $PKG
cd $TMP
rm -rf $PRGNAM-$VERSION
tar xvf $CWD/$PRGNAM-$VERSION.tar.bz2
cd $PRGNAM-$VERSION
chown -R root:root .
chmod -R u+w,go+r-w,a-s .
./configure \
--prefix=/usr \
--sysconfdir=/etc \
--localstatedir=/var/lib \
--mandir=/usr/man \
--disable-static \
--build=$ARCH-slackware-linux
make
make install-strip DESTDIR=$PKG
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
cp -a AUTHORS COPYING ChangeLog INSTALL NEWS README \
$PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
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="webkit-sharp"
VERSION="0.2"
HOMEPAGE="http://mono.ximian.com/monobuild/preview/sources/webkit-sharp/"
DOWNLOAD="http://mono.ximian.com/monobuild/preview/sources/webkit-sharp/webkit-sharp-0.2.tar.bz2"
MD5SUM="8041fba941b7299e432380c86b6dddf8"
MAINTAINER="Erik Hanson"
EMAIL="erik@slackbuilds.org"
APPROVED="rworkman"