mirror of
https://github.com/Ponce/slackbuilds
synced 2024-11-25 10:03:03 +01:00
development/gtk-sharp: Added to 12.1 repository
This commit is contained in:
parent
08878a695d
commit
1d196daa3b
4 changed files with 84 additions and 0 deletions
7
development/gtk-sharp/README
Normal file
7
development/gtk-sharp/README
Normal file
|
@ -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
|
50
development/gtk-sharp/gtk-sharp.SlackBuild
Normal file
50
development/gtk-sharp/gtk-sharp.SlackBuild
Normal file
|
@ -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
|
8
development/gtk-sharp/gtk-sharp.info
Normal file
8
development/gtk-sharp/gtk-sharp.info
Normal file
|
@ -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"
|
19
development/gtk-sharp/slack-desc
Normal file
19
development/gtk-sharp/slack-desc
Normal 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------------------------------------------------------|
|
||||
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:
|
Loading…
Reference in a new issue