From 2b2633a4793d23122d7eae54f3b6a83bad32791a Mon Sep 17 00:00:00 2001 From: MrJackson Date: Sun, 16 Dec 2012 17:43:16 -0500 Subject: misc/owfs: Updated for version 2.8p20. Signed-off-by: dsomero --- misc/owfs/owfs.SlackBuild | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) (limited to 'misc/owfs/owfs.SlackBuild') 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 -- cgit v1.2.3