summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--misc/owfs/owfs.SlackBuild12
-rw-r--r--misc/owfs/owfs.info6
2 files changed, 11 insertions, 7 deletions
diff --git a/misc/owfs/owfs.SlackBuild b/misc/owfs/owfs.SlackBuild
index a11a046a67..c387a9aaa8 100644
--- a/misc/owfs/owfs.SlackBuild
+++ b/misc/owfs/owfs.SlackBuild
@@ -5,7 +5,7 @@
# Written by MrJackson mrjackson@gmail.com
PRGNAM=owfs
-VERSION=${VERSION:-2.8p18}
+VERSION=${VERSION:-2.8p20}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -59,11 +59,17 @@ CXXFLAGS="$SLKCFLAGS" \
--sysconfdir=/etc \
--localstatedir=/var \
--mandir=/usr/man \
+ --with-fuseinclude=/usr/include \
+ --with-fuselib=/usr/lib$LIBDIRSUFFIX \
--docdir=/usr/doc/$PRGNAM-$VERSION \
--build=$ARCH-slackware-linux
make
-make install DESTDIR=$PKG
+# Install paths needed else perl modules get installed in /usr/local. :/
+make install \
+ INSTALLDIRS=vendor \
+ INSTALLVENDORMAN3DIR=/usr/man/man3 \
+ 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
@@ -71,7 +77,6 @@ find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | gr
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
-# Remove perllocal.pod and other special files; remove empty directories
find $PKG -name perllocal.pod -o -name ".packlist" -o -name "*.bs" | xargs rm -f || true
find $PKG -depth -type d -empty -delete || true
@@ -81,7 +86,6 @@ cp -a \
$PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
-# Copy the slack-desc (and a custom doinst.sh if necessary) into ./install
mkdir -p $PKG/install
cat $CWD/slack-desc > $PKG/install/slack-desc
diff --git a/misc/owfs/owfs.info b/misc/owfs/owfs.info
index 901a69d214..78def995f6 100644
--- a/misc/owfs/owfs.info
+++ b/misc/owfs/owfs.info
@@ -1,8 +1,8 @@
PRGNAM="owfs"
-VERSION="2.8p18"
+VERSION="2.8p20"
HOMEPAGE="http://owfs.org/"
-DOWNLOAD="http://downloads.sourceforge.net/owfs/owfs-2.8p18.tar.gz"
-MD5SUM="c6785b86f5abdbc989236d92a1c664ed"
+DOWNLOAD="http://downloads.sourceforge.net/owfs/owfs-2.8p20.tar.gz"
+MD5SUM="9aebee6c0e724553f5be6a542494eae5"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""