summaryrefslogtreecommitdiff
path: root/system
diff options
context:
space:
mode:
Diffstat (limited to 'system')
-rw-r--r--system/collectd/collectd.SlackBuild17
-rw-r--r--system/collectd/collectd.info6
2 files changed, 10 insertions, 13 deletions
diff --git a/system/collectd/collectd.SlackBuild b/system/collectd/collectd.SlackBuild
index e97a5d20a4..06c44d08bf 100644
--- a/system/collectd/collectd.SlackBuild
+++ b/system/collectd/collectd.SlackBuild
@@ -9,7 +9,7 @@
# Based on http://slackbuilds.org/template.SlackBuild
PRGNAM=collectd
-VERSION=${VERSION:-5.1.0}
+VERSION=${VERSION:-20120912_5cf0dd2}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -46,7 +46,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.?z*
cd $PRGNAM-$VERSION
chown -R root:root .
find . \
@@ -55,6 +55,8 @@ find . \
\( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \
-exec chmod 644 {} \;
+./build.sh
+
CFLAGS="$SLKCFLAGS" \
CXXFLAGS="$SLKCFLAGS" \
./configure \
@@ -64,8 +66,8 @@ CXXFLAGS="$SLKCFLAGS" \
--localstatedir=/var \
--mandir=/usr/man \
--docdir=/usr/doc/$PRGNAM-$VERSION \
- --build=$ARCH-slackware-linux \
- --without-libgcrypt
+ --with-perl-bindings="PREFIX=/usr INSTALLDIRS=vendor INSTALLVENDORMAN3DIR=/usr/man/man3" \
+ --build=$ARCH-slackware-linux
make
make install DESTDIR=$PKG
@@ -73,15 +75,10 @@ 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
-mv $PKG/usr/share/man/man3 $PKG/usr/man
-rmdir $PKG/usr/share/man
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
+for i in $( find $PKG/usr/man -type l ) ; do ln -s $( readlink $i ).gz $i.gz ; rm $i ; done
# Rename
-mv $PKG/usr/lib${LIBDIRSUFFIX}/perl5/site_perl $PKG/usr/lib${LIBDIRSUFFIX}/perl5/vendor_perl
mv $PKG/etc/collectd.conf $PKG/etc/collectd.conf.new
find $PKG -name "perllocal.pod" \
diff --git a/system/collectd/collectd.info b/system/collectd/collectd.info
index ec1d694cd9..75910c846b 100644
--- a/system/collectd/collectd.info
+++ b/system/collectd/collectd.info
@@ -1,8 +1,8 @@
PRGNAM="collectd"
-VERSION="5.1.0"
+VERSION="20120912_5cf0dd2"
HOMEPAGE="http://collectd.org"
-DOWNLOAD="http://collectd.org/files/collectd-5.1.0.tar.gz"
-MD5SUM="adc58a0d448a359ecf737da9398898c6"
+DOWNLOAD="http://ponce.cc/slackware/sources/repo/collectd-20120912_5cf0dd2.tar.xz"
+MD5SUM="396f857d9b347ccd186187064aee42c1"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""