summaryrefslogtreecommitdiff
path: root/system/gksu-polkit/gksu-polkit.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'system/gksu-polkit/gksu-polkit.SlackBuild')
-rw-r--r--system/gksu-polkit/gksu-polkit.SlackBuild12
1 files changed, 6 insertions, 6 deletions
diff --git a/system/gksu-polkit/gksu-polkit.SlackBuild b/system/gksu-polkit/gksu-polkit.SlackBuild
index e1b1b1c5ec..08e8fcf896 100644
--- a/system/gksu-polkit/gksu-polkit.SlackBuild
+++ b/system/gksu-polkit/gksu-polkit.SlackBuild
@@ -4,7 +4,7 @@
# Written by ponce <matteo.bernardini@gmail.com>
PRGNAM=gksu-polkit
-VERSION=${VERSION:-20100909_d7e3160}
+VERSION=${VERSION:-0.0.3}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -35,7 +35,7 @@ else
LIBDIRSUFFIX=""
fi
-DOCS="AUTHORS COPYING ChangeLog HACKING README THANKS TODO"
+DOCS="AUTHORS COPYING ChangeLog README THANKS TODO"
set -e # Exit on most errors
@@ -43,7 +43,7 @@ rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
cd $TMP
rm -rf $PRGNAM-$VERSION
-tar xvf $CWD/$PRGNAM-$VERSION.tar.?z
+tar xvf $CWD/$PRGNAM-$VERSION.tar.?z*
cd $PRGNAM-$VERSION
chown -R root:root .
find . \
@@ -53,12 +53,12 @@ find . \
-exec chmod 644 {} \;
# respect our $CFLAGS
-sed -i "s|-g -O2|$SLKCFLAGS|" aclocal.m4
-sed -i "s|-g -O2 -Wall|$SLKCFLAGS|" */Makefile.am
+sed -i "s|-g -O2|$SLKCFLAGS|" configure
+sed -i "s|-g -O2 -Wall|$SLKCFLAGS|" {common,gksu,libgksu}/Makefile.in
CFLAGS="$SLKCFLAGS" \
CXXFLAGS="$SLKCFLAGS" \
-./autogen.sh \
+./configure \
--prefix=/usr \
--libdir=/usr/lib${LIBDIRSUFFIX} \
--sysconfdir=/etc \