mirror of
https://github.com/Ponce/slackbuilds
synced 2024-11-20 19:41:34 +01:00
libraries/libnotify: Updated for version 0.4.5
This commit is contained in:
parent
c7b5f27c3a
commit
589f0589b8
2 changed files with 20 additions and 12 deletions
|
@ -2,30 +2,37 @@
|
|||
|
||||
# Slackware build script for libnotify
|
||||
# Written by Erik Hanson erik@slackbuilds.org
|
||||
# Updated for 0.4.4 by Robby Workman <rworkman@slackbuilds.org>
|
||||
|
||||
PRGNAM=libnotify
|
||||
VERSION=0.4.4
|
||||
VERSION=0.4.5
|
||||
ARCH=${ARCH:-i486}
|
||||
BUILD=${BUILD:-1}
|
||||
TAG=${TAG:-_SBo}
|
||||
|
||||
CWD=$(pwd)
|
||||
TMP=${TMP:-/tmp/SBo}
|
||||
PKG=$TMP/package-$PRGNAM
|
||||
OUTPUT=${OUTPUT:-/tmp}
|
||||
|
||||
set -eu
|
||||
|
||||
if [ "$ARCH" = "i486" ]; then
|
||||
SLKCFLAGS="-O2 -march=i486 -mtune=i686"
|
||||
LIBDIRSUFFIX=""
|
||||
elif [ "$ARCH" = "i686" ]; then
|
||||
SLKCFLAGS="-O2 -march=i686 -mtune=i686"
|
||||
LIBDIRSUFFIX=""
|
||||
elif [ "$ARCH" = "x86_64" ]; then
|
||||
SLKCFLAGS="-O2 -fPIC"
|
||||
LIBDIRSUFFIX="64"
|
||||
fi
|
||||
|
||||
rm -rf $PKG
|
||||
mkdir -p $TMP $PKG $OUTPUT
|
||||
cd $TMP || exit 1
|
||||
cd $TMP
|
||||
rm -rf $PRGNAM-$VERSION
|
||||
tar xvf $CWD/$PRGNAM-$VERSION.tar.bz2 || exit 1
|
||||
cd $PRGNAM-$VERSION || exit 1
|
||||
tar xvf $CWD/$PRGNAM-$VERSION.tar.bz2
|
||||
cd $PRGNAM-$VERSION
|
||||
chown -R root:root .
|
||||
chmod -R u+w,go+r-w,a-s .
|
||||
|
||||
|
@ -34,12 +41,13 @@ CFLAGS="$SLKCFLAGS" \
|
|||
--prefix=/usr \
|
||||
--sysconfdir=/etc \
|
||||
--localstatedir=/var \
|
||||
--libdir=/usr/lib${LIBDIRSUFFIX} \
|
||||
--enable-static=no \
|
||||
--enable-shared=yes \
|
||||
|| exit 1
|
||||
--build=$ARCH-slackware-linux
|
||||
|
||||
make || exit 1
|
||||
make install-strip DESTDIR=$PKG || exit 1
|
||||
make
|
||||
make install-strip DESTDIR=$PKG
|
||||
|
||||
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
|
||||
cp -a AUTHORS ChangeLog COPYING README $PKG/usr/doc/$PRGNAM-$VERSION
|
||||
|
|
|
@ -1,8 +1,8 @@
|
|||
PRGNAM="libnotify"
|
||||
VERSION="0.4.4"
|
||||
VERSION="0.4.5"
|
||||
HOMEPAGE="http://www.galago-project.org/news/index.php"
|
||||
DOWNLOAD="http://www.galago-project.org/files/releases/source/libnotify/libnotify-0.4.4.tar.bz2"
|
||||
MD5SUM="0a739819b907fd8ec79a9bc9dbcb42c1"
|
||||
DOWNLOAD="http://www.galago-project.org/files/releases/source/libnotify/libnotify-0.4.5.tar.bz2"
|
||||
MD5SUM="6a8388f93309dbe336bbe5fc0677de6b"
|
||||
MAINTAINER="Erik Hanson"
|
||||
EMAIL="erik@slackbuilds.org"
|
||||
APPROVED="BP{k}"
|
||||
APPROVED="rworkman"
|
||||
|
|
Loading…
Reference in a new issue