diff options
author | Chris Abela <chris.abela@maltats.com> | 2010-03-03 14:25:54 -0600 |
---|---|---|
committer | Erik Hanson <erik@slackbuilds.org> | 2010-05-13 13:25:21 +0200 |
commit | f55095f551a08953088bf95507efaceedf30db35 (patch) | |
tree | 42200c60d41b2e52dde4b4a11e247fd7f3a6dc00 /system/davfs2/davfs2.SlackBuild | |
parent | 22d24bf4dc8872f39e60e3f87535904f572d1c54 (diff) |
system/davfs2: Build bump.
Fixed location of symlinks. Thanks to Chris Abela.
Diffstat (limited to 'system/davfs2/davfs2.SlackBuild')
-rw-r--r-- | system/davfs2/davfs2.SlackBuild | 13 |
1 files changed, 12 insertions, 1 deletions
diff --git a/system/davfs2/davfs2.SlackBuild b/system/davfs2/davfs2.SlackBuild index f5e3c98c4cd67..b9107eb5d0213 100644 --- a/system/davfs2/davfs2.SlackBuild +++ b/system/davfs2/davfs2.SlackBuild @@ -21,7 +21,7 @@ PRGNAM=davfs2 VERSION=${VERSION:-1.4.5} ARCH=${ARCH:-i486} -BUILD=${BUILD:-1} +BUILD=${BUILD:-2} TAG=${TAG:-_SBo} DAVFS2_USER=${DAVFS2_USER:-davfs2} @@ -107,6 +107,17 @@ mv $PKG/etc/davfs2/secrets $PKG/etc/davfs2/secrets.new # --docdir is respected, but we'll add the build script cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild +# davfs2 autobuild places mount.davfs and umount.davfs in /usr/sbin +# and places symlinks in /sbin. In Slackware, our mount backends +# only belong in /sbin, so let's put them there and adjust the links +( cd $PKG/usr/sbin + for i in * ; do + mv $i ../../sbin + ln -s ../../sbin/$i $i + done +) + + mkdir -p $PKG/install cat $CWD/slack-desc > $PKG/install/slack-desc cat $CWD/doinst.sh > $PKG/install/doinst.sh |