aboutsummaryrefslogtreecommitdiff
path: root/development
diff options
context:
space:
mode:
authorErik Hanson <erik@slackbuilds.org>2010-05-11 22:53:31 +0200
committerMichiel van Wessem <michiel@slackbuilds.org>2010-05-11 22:53:31 +0200
commit1d196daa3bd60e07a50d44d27df5fcd760dfbb6c (patch)
tree1c8691b380f66ccd6b69d89c3326ecdd1de1e638 /development
parent08878a695d0aa222c8688304e89089f277d11542 (diff)
development/gtk-sharp: Added to 12.1 repository
Diffstat (limited to 'development')
-rw-r--r--development/gtk-sharp/README7
-rw-r--r--development/gtk-sharp/gtk-sharp.SlackBuild50
-rw-r--r--development/gtk-sharp/gtk-sharp.info8
-rw-r--r--development/gtk-sharp/slack-desc19
4 files changed, 84 insertions, 0 deletions
diff --git a/development/gtk-sharp/README b/development/gtk-sharp/README
new file mode 100644
index 0000000000000..9a9285eec9517
--- /dev/null
+++ b/development/gtk-sharp/README
@@ -0,0 +1,7 @@
+Gtk#, a GUI Toolkit, is a set of .NET bindings for the gtk+ toolkit
+and assorted GNOME (http://www.gnome.org/) libraries. This library
+allows you to build fully native graphical Gnome applications using
+Mono. GTK# is an event-driven system like any other modern windowing
+library.
+
+Requires Mono, available at SlackBuilds.org
diff --git a/development/gtk-sharp/gtk-sharp.SlackBuild b/development/gtk-sharp/gtk-sharp.SlackBuild
new file mode 100644
index 0000000000000..a3c4f7cb7a059
--- /dev/null
+++ b/development/gtk-sharp/gtk-sharp.SlackBuild
@@ -0,0 +1,50 @@
+#!/bin/sh
+
+# Slackware build script for gtk-sharp
+# Written by Erik Hanson erik@slackbuilds.org
+
+set -eu
+
+PRGNAM=gtk-sharp
+VERSION=2.12.0
+ARCH=${ARCH:-i486}
+BUILD=${BUILD:-1}
+TAG=${TAG:-_SBo}
+CWD=$(pwd)
+TMP=${TMP:-/tmp/SBo}
+PKG=$TMP/package-$PRGNAM
+OUTPUT=${OUTPUT:-/tmp}
+
+if [ "$ARCH" = "i486" ]; then
+ SLKCFLAGS="-O2 -march=i486 -mtune=i686"
+elif [ "$ARCH" = "i686" ]; then
+ SLKCFLAGS="-O2 -march=i686 -mtune=i686"
+fi
+
+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 .
+
+CFLAGS="$SLKCFLAGS" \
+./configure \
+ --prefix=/usr \
+ --sysconfdir=/etc \
+ --localstatedir=/var/lib \
+ --mandir=/usr/man \
+ --disable-static
+
+make
+make install-strip DESTDIR=$PKG
+
+mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION $PKG/install
+cp -a AUTHORS README COPYING ChangeLog NEWS $PKG/usr/doc/$PRGNAM-$VERSION
+cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
+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/development/gtk-sharp/gtk-sharp.info b/development/gtk-sharp/gtk-sharp.info
new file mode 100644
index 0000000000000..4b5fb1fc623de
--- /dev/null
+++ b/development/gtk-sharp/gtk-sharp.info
@@ -0,0 +1,8 @@
+PRGNAM="gtk-sharp"
+VERSION="2.12.0"
+HOMEPAGE="http://www.mono-project.com/GtkSharp"
+DOWNLOAD="http://ftp.gnome.org/pub/gnome/sources/gtk-sharp/2.12/gtk-sharp-2.12.0.tar.bz2"
+MD5SUM="e04d634c55460b79c69d19c49648c6df"
+MAINTAINER="Erik Hanson"
+EMAIL="erik@slackbuilds.org"
+APPROVED="Michiel"
diff --git a/development/gtk-sharp/slack-desc b/development/gtk-sharp/slack-desc
new file mode 100644
index 0000000000000..9b5e62922581f
--- /dev/null
+++ b/development/gtk-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------------------------------------------------------|
+gtk-sharp: gtk-sharp (gtk# A GUI toolkit for Mono and gtk+)
+gtk-sharp:
+gtk-sharp: Gtk#, a GUI Toolkit, is a set of .NET bindings for the gtk+ toolkit
+gtk-sharp: and assorted GNOME (http://www.gnome.org/) libraries. This library
+gtk-sharp: allows you to build fully native graphical Gnome applications using
+gtk-sharp: Mono. GTK# is an event-driven system like any other modern windowing
+gtk-sharp: library.
+gtk-sharp:
+gtk-sharp:
+gtk-sharp: http://www.mono-project.com/GtkSharp
+gtk-sharp: