mirror of
https://github.com/Ponce/slackbuilds
synced 2024-11-25 10:03:03 +01:00
libraries/libgda: Updated for version 5.1.2.
Signed-off-by: dsomero <xgizzmo@slackbuilds.org>
This commit is contained in:
parent
06435eea38
commit
eb3cbd0717
4 changed files with 26 additions and 17 deletions
9
libraries/libgda/doinst.sh
Normal file
9
libraries/libgda/doinst.sh
Normal file
|
@ -0,0 +1,9 @@
|
|||
if [ -x /usr/bin/update-desktop-database ]; then
|
||||
/usr/bin/update-desktop-database -q usr/share/applications >/dev/null 2>&1
|
||||
fi
|
||||
|
||||
if [ -e usr/share/icons/hicolor/icon-theme.cache ]; then
|
||||
if [ -x /usr/bin/gtk-update-icon-cache ]; then
|
||||
/usr/bin/gtk-update-icon-cache usr/share/icons/hicolor >/dev/null 2>&1
|
||||
fi
|
||||
fi
|
|
@ -2,7 +2,7 @@
|
|||
|
||||
# Slackware build script for libgda
|
||||
|
||||
# Copyright 2012 Willy Sudiarto Raharjo <willysr@slackware-id.org>
|
||||
# Copyright 2012-2013 Willy Sudiarto Raharjo <willysr@slackware-id.org>
|
||||
# All rights reserved.
|
||||
#
|
||||
# Redistribution and use of this script, with or without modification, is
|
||||
|
@ -23,11 +23,10 @@
|
|||
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||
|
||||
PRGNAM=libgda
|
||||
VERSION=${VERSION:-5.1.1}
|
||||
VERSION=${VERSION:-5.1.2}
|
||||
BUILD=${BUILD:-1}
|
||||
TAG=${TAG:-_SBo}
|
||||
|
||||
# Automatically determine the architecture we're building on:
|
||||
if [ -z "$ARCH" ]; then
|
||||
case "$( uname -m )" in
|
||||
i?86) ARCH=i486 ;;
|
||||
|
@ -37,9 +36,9 @@ if [ -z "$ARCH" ]; then
|
|||
fi
|
||||
|
||||
CWD=$(pwd)
|
||||
TMP=${TMP:-/tmp/build}
|
||||
TMP=${TMP:-/tmp/SBo}
|
||||
PKG=$TMP/package-$PRGNAM
|
||||
OUTPUT=${OUTPUT:-/tmp}
|
||||
OUTPUT=${OUTPUT:-/tmp}
|
||||
|
||||
if [ "$ARCH" = "i486" ]; then
|
||||
SLKCFLAGS="-O2 -march=i486 -mtune=i686"
|
||||
|
@ -55,7 +54,7 @@ else
|
|||
LIBDIRSUFFIX=""
|
||||
fi
|
||||
|
||||
set -e
|
||||
set -e
|
||||
|
||||
rm -rf $PKG
|
||||
mkdir -p $TMP $PKG $OUTPUT
|
||||
|
@ -84,7 +83,7 @@ CXXFLAGS="$SLKCFLAGS" \
|
|||
--build=$ARCH-slackware-linux
|
||||
|
||||
make
|
||||
make install DESTDIR=$PKG
|
||||
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
|
||||
|
@ -97,6 +96,7 @@ cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
|
|||
|
||||
mkdir -p $PKG/install
|
||||
cat $CWD/slack-desc > $PKG/install/slack-desc
|
||||
cat $CWD/doinst.sh > $PKG/install/doinst.sh
|
||||
|
||||
cd $PKG
|
||||
/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
|
||||
|
|
|
@ -1,8 +1,8 @@
|
|||
PRGNAM="libgda"
|
||||
VERSION="5.1.1"
|
||||
VERSION="5.1.2"
|
||||
HOMEPAGE="http://www.gnome.org/"
|
||||
DOWNLOAD="http://ftp.gnome.org/pub/GNOME/sources/libgda/5.1/libgda-5.1.1.tar.xz"
|
||||
MD5SUM="92a6536418f62b86818f489c2a2dfa94"
|
||||
DOWNLOAD="http://ftp.gnome.org/pub/GNOME/sources/libgda/5.1/libgda-5.1.2.tar.xz"
|
||||
MD5SUM="2005c1b024fc9c8f7dd4d3d48936b0c1"
|
||||
DOWNLOAD_x86_64=""
|
||||
MD5SUM_x86_64=""
|
||||
REQUIRES=""
|
||||
|
|
|
@ -8,12 +8,12 @@
|
|||
|-----handy-ruler------------------------------------------------------|
|
||||
libgda: libgda (GNOME DB)
|
||||
libgda:
|
||||
libgda: libgda provides data abstraction layer with mysql, pgsql, xml,
|
||||
libgda: libgda provides data abstraction layer with mysql, pgsql, xml,
|
||||
libgda: sqlite providers.
|
||||
libgda:
|
||||
libgda:
|
||||
libgda: Project Site: http://www.gnome-db.org/
|
||||
libgda:
|
||||
libgda:
|
||||
libgda:
|
||||
libgda:
|
||||
libgda:
|
||||
libgda:
|
||||
libgda:
|
||||
libgda:
|
||||
libgda:
|
||||
libgda:
|
||||
|
|
Loading…
Reference in a new issue