misc/owfs: Updated for version 2.8p20.

Signed-off-by: dsomero <xgizzmo@slackbuilds.org>
This commit is contained in:
MrJackson 2012-12-16 17:43:16 -05:00 committed by dsomero
parent 453d6d325f
commit 2b2633a479
2 changed files with 11 additions and 7 deletions

View file

@ -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

View file

@ -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=""