From 9779da469370c8f915d04dd242663382cc8c3d36 Mon Sep 17 00:00:00 2001 From: Erik Hanson Date: Tue, 11 May 2010 22:54:26 +0200 Subject: [PATCH] libraries/webkit-sharp: Added to 12.1 repository --- libraries/webkit-sharp/README | 3 ++ libraries/webkit-sharp/slack-desc | 19 ++++++++ .../webkit-sharp/webkit-sharp.SlackBuild | 48 +++++++++++++++++++ libraries/webkit-sharp/webkit-sharp.info | 8 ++++ 4 files changed, 78 insertions(+) create mode 100644 libraries/webkit-sharp/README create mode 100644 libraries/webkit-sharp/slack-desc create mode 100644 libraries/webkit-sharp/webkit-sharp.SlackBuild create mode 100644 libraries/webkit-sharp/webkit-sharp.info diff --git a/libraries/webkit-sharp/README b/libraries/webkit-sharp/README new file mode 100644 index 0000000000..1740132f0c --- /dev/null +++ b/libraries/webkit-sharp/README @@ -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 diff --git a/libraries/webkit-sharp/slack-desc b/libraries/webkit-sharp/slack-desc new file mode 100644 index 0000000000..c2e27bf3db --- /dev/null +++ b/libraries/webkit-sharp/slack-desc @@ -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: diff --git a/libraries/webkit-sharp/webkit-sharp.SlackBuild b/libraries/webkit-sharp/webkit-sharp.SlackBuild new file mode 100644 index 0000000000..70093b1687 --- /dev/null +++ b/libraries/webkit-sharp/webkit-sharp.SlackBuild @@ -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 diff --git a/libraries/webkit-sharp/webkit-sharp.info b/libraries/webkit-sharp/webkit-sharp.info new file mode 100644 index 0000000000..679b74c950 --- /dev/null +++ b/libraries/webkit-sharp/webkit-sharp.info @@ -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"