summaryrefslogtreecommitdiffstats
path: root/misc/owfs/owfs.SlackBuild
diff options
context:
space:
mode:
author MrJackson2012-12-16 23:43:16 +0100
committer dsomero2012-12-23 15:16:26 +0100
commit2b2633a4793d23122d7eae54f3b6a83bad32791a (patch)
treeb3764e852cd879f2e1ae6ef2d5b2b9f54a88c1b5 /misc/owfs/owfs.SlackBuild
parent453d6d325f987d9f3693b842b8543a448995d376 (diff)
downloadslackbuilds-2b2633a4793d23122d7eae54f3b6a83bad32791a.tar.gz
misc/owfs: Updated for version 2.8p20.
Signed-off-by: dsomero <xgizzmo@slackbuilds.org>
Diffstat (limited to 'misc/owfs/owfs.SlackBuild')
-rw-r--r--misc/owfs/owfs.SlackBuild12
1 files changed, 8 insertions, 4 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