mirror of
https://github.com/Ponce/slackbuilds
synced 2024-11-22 19:44:21 +01:00
libraries/gtk-sharp: Updated for version 2.12.45.
Signed-off-by: David Spencer <idlemoor@slackbuilds.org>
This commit is contained in:
parent
91cf3cccf6
commit
6e3dc08b27
3 changed files with 34 additions and 15 deletions
|
@ -2,11 +2,28 @@
|
|||
|
||||
# Slackware build script for gtk-sharp
|
||||
|
||||
# Written by (crocket) (crockabiscuit@gmail.com)
|
||||
# copyright 2017 Donald Cooley South Haven, Indiana USA
|
||||
# Copyright 2017-2018 Donald Cooley South Haven, Indiana USA
|
||||
# All rights reserved.
|
||||
#
|
||||
# Redistribution and use of this script, with or without modification, is
|
||||
# permitted provided that the following conditions are met:
|
||||
#
|
||||
# 1. Redistributions of this script must retain the above copyright
|
||||
# notice, this list of conditions and the following disclaimer.
|
||||
#
|
||||
# THIS SOFTWARE IS PROVIDED BY THE AUTHOR "AS IS" AND ANY EXPRESS OR IMPLIED
|
||||
# WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
|
||||
# MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO
|
||||
# EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
|
||||
# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
|
||||
# PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS;
|
||||
# OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
|
||||
# WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR
|
||||
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
|
||||
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||
|
||||
PRGNAM=gtk-sharp
|
||||
VERSION=${VERSION:-2.12.43}
|
||||
VERSION=${VERSION:-2.12.45}
|
||||
BUILD=${BUILD:-1}
|
||||
TAG=${TAG:-_SBo}
|
||||
|
||||
|
@ -43,11 +60,7 @@ rm -rf $PKG
|
|||
mkdir -p $TMP $PKG $OUTPUT
|
||||
cd $TMP
|
||||
rm -rf $PRGNAM-$VERSION
|
||||
if [ -e $CWD/$VERSION.tar.gz ]; then
|
||||
tar xvf $CWD/$VERSION.tar.gz
|
||||
else
|
||||
tar xvf $CWD/$PRGNAM-$VERSION.tar.gz
|
||||
fi
|
||||
tar xvf $CWD/$PRGNAM-$VERSION.tar.gz
|
||||
cd $PRGNAM-$VERSION
|
||||
chown -R root:root .
|
||||
find -L . \
|
||||
|
@ -63,7 +76,6 @@ CXXFLAGS="$SLKCFLAGS" \
|
|||
--libdir=/usr/lib${LIBDIRSUFFIX} \
|
||||
--sysconfdir=/etc \
|
||||
--localstatedir=/var \
|
||||
--disable-static \
|
||||
--docdir=/usr/doc/$PRGNAM-$VERSION \
|
||||
--build=$ARCH-slackware-linux
|
||||
|
||||
|
@ -73,8 +85,15 @@ make install DESTDIR=$PKG
|
|||
find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \
|
||||
| cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
|
||||
|
||||
find $PKG -name perllocal.pod \
|
||||
-o -name ".packlist" \
|
||||
-o -name "*.bs" \
|
||||
| xargs rm -f
|
||||
|
||||
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
|
||||
cp -a AUTHORS COPYING ChangeLog HACKING NEWS README $PKG/usr/doc/$PRGNAM-$VERSION
|
||||
cp -a \
|
||||
AUTHORS COPYING ChangeLog HACKING NEWS README \
|
||||
$PKG/usr/doc/$PRGNAM-$VERSION
|
||||
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
|
||||
|
||||
mkdir -p $PKG/install
|
||||
|
|
|
@ -1,8 +1,8 @@
|
|||
PRGNAM="gtk-sharp"
|
||||
VERSION="2.12.43"
|
||||
HOMEPAGE="http://www.mono-project.com/GtkSharp"
|
||||
DOWNLOAD="http://download.mono-project.com/sources/gtk-sharp212/gtk-sharp-2.12.43.tar.gz"
|
||||
MD5SUM="0f8a6681bd44af7eb3c53f4e793e1f6b"
|
||||
VERSION="2.12.45"
|
||||
HOMEPAGE="http://www.mono-project.com/docs/gui/gtksharp/"
|
||||
DOWNLOAD="https://download.mono-project.com/sources/gtk-sharp212/gtk-sharp-2.12.45.tar.gz"
|
||||
MD5SUM="48cdd0292229eba58b403930032fb766"
|
||||
DOWNLOAD_x86_64=""
|
||||
MD5SUM_x86_64=""
|
||||
REQUIRES="mono"
|
||||
|
|
|
@ -15,5 +15,5 @@ gtk-sharp: .Net development frameworks.
|
|||
gtk-sharp:
|
||||
gtk-sharp:
|
||||
gtk-sharp:
|
||||
gtk-sharp: Website: http://www.mono-project.com/GtkSharp
|
||||
gtk-sharp: Website: http://www.mono-project.com/docs/gui/gtksharp/
|
||||
gtk-sharp:
|
||||
|
|
Loading…
Reference in a new issue