summaryrefslogtreecommitdiff
path: root/network
diff options
context:
space:
mode:
authorcrocket <crockabiscuit@gmail.com>2011-08-31 08:39:11 -0300
committerNiels Horn <niels.horn@slackbuilds.org>2011-08-31 08:39:11 -0300
commite1c46730e120b9881fe8025badf8d4826f385a43 (patch)
tree54361bf96e266ac128e8951dee7cfc4087bff637 /network
parent32a8062c881f60439d9b17744ce3e67149d283aa (diff)
downloadslackbuilds-e1c46730e120b9881fe8025badf8d4826f385a43.tar.gz
network/cclive: Updated for version 0.7.5.
Signed-off-by: Niels Horn <niels.horn@slackbuilds.org>
Diffstat (limited to 'network')
-rw-r--r--network/cclive/README1
-rw-r--r--network/cclive/cclive.SlackBuild32
-rw-r--r--network/cclive/cclive.info6
3 files changed, 18 insertions, 21 deletions
diff --git a/network/cclive/README b/network/cclive/README
index 37ca4ff7a1..2ba654dcb1 100644
--- a/network/cclive/README
+++ b/network/cclive/README
@@ -11,4 +11,3 @@ look nice.
filename-format=%t.%s
subst=s<\s>{_}g
-
diff --git a/network/cclive/cclive.SlackBuild b/network/cclive/cclive.SlackBuild
index 0831ea18e1..136778921a 100644
--- a/network/cclive/cclive.SlackBuild
+++ b/network/cclive/cclive.SlackBuild
@@ -5,7 +5,7 @@
# Written by crocket (crockabiscuit@gmail.com)
PRGNAM=cclive
-VERSION=${VERSION:-0.7.3.1}
+VERSION=${VERSION:-0.7.5}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -42,7 +42,7 @@ rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
cd $TMP
rm -rf $PRGNAM-$VERSION
-tar xvf $CWD/$PRGNAM-$VERSION.tar.gz
+tar xvf $CWD/$PRGNAM-$VERSION.tar.xz
cd $PRGNAM-$VERSION
chown -R root:root .
find . \
@@ -51,22 +51,20 @@ find . \
\( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \
-exec chmod 644 {} \;
-mkdir -p build
-cd build
- cmake \
- -DCMAKE_C_FLAGS:STRING="$SLKCFLAGS" \
- -DCMAKE_CXX_FLAGS:STRING="$SLKCFLAGS" \
- -DCMAKE_INSTALL_PREFIX=/usr \
- -DCMAKE_VERBOSE_MAKEFILE:BOOL=ON \
- -DCMAKE_BUILD_TYPE=Release ..
- make
- make install DESTDIR=$PKG
- mv $PKG/usr/share/man $PKG/usr
- rmdir $PKG/usr/share
-cd ..
+CFLAGS="$SLKCFLAGS" \
+CXXFLAGS="$SLKCFLAGS" \
+./configure \
+ --prefix=/usr \
+ --libdir=/usr/lib${LIBDIRSUFFIX} \
+ --sysconfdir=/etc \
+ --localstatedir=/var \
+ --mandir=/usr/man \
+ --infodir=/usr/info \
+ --docdir=/usr/doc/$PRGNAM-$VERSION \
+ --build=$ARCH-slackware-linux
-find $PKG | xargs file | grep -e "executable" -e "shared object" | grep ELF \
- | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
+make V=1
+make install-strip DESTDIR=$PKG
find $PKG/usr/man -type f -exec gzip -9 {} \;
for i in $( find $PKG/usr/man -type l ) ; do ln -s $( readlink $i ).gz $i.gz ; rm $i ; done
diff --git a/network/cclive/cclive.info b/network/cclive/cclive.info
index 934a2aa670..a31a790695 100644
--- a/network/cclive/cclive.info
+++ b/network/cclive/cclive.info
@@ -1,8 +1,8 @@
PRGNAM="cclive"
-VERSION="0.7.3.1"
+VERSION="0.7.5"
HOMEPAGE="http://cclive.sourceforge.net/"
-DOWNLOAD="http://sourceforge.net/projects/cclive/files/0.7/cclive-0.7.3.1.tar.gz"
-MD5SUM="de25297e9f34677d4d1920078d9cf254"
+DOWNLOAD="http://downloads.sourceforge.net/cclive/cclive-0.7.5.tar.xz"
+MD5SUM="3b415e8f1f4eb2d84b714060ad939d06"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
MAINTAINER="crocket"