diff options
author | Alan_Hicks <alan@lizella.net> | 2010-05-11 19:46:39 +0200 |
---|---|---|
committer | Michiel van Wessem <michiel@slackbuilds.org> | 2010-05-11 19:46:39 +0200 |
commit | a8f00329e187186d1467537eb950aaee6a8b2ce7 (patch) | |
tree | 7daa5cb921b110c394aaa04ed04ff22a8fa331ac /system/sshfs-fuse | |
parent | 2a9cb8a2e13c3bf9c967781fd3ac6b601d807d53 (diff) |
system/sshfs-fuse: Updated for version 1.8
Diffstat (limited to 'system/sshfs-fuse')
-rw-r--r-- | system/sshfs-fuse/slack-desc | 4 | ||||
-rw-r--r-- | system/sshfs-fuse/sshfs-fuse.SlackBuild | 9 |
2 files changed, 10 insertions, 3 deletions
diff --git a/system/sshfs-fuse/slack-desc b/system/sshfs-fuse/slack-desc index 9b0f045cdfa3..a8a2c437e5f3 100644 --- a/system/sshfs-fuse/slack-desc +++ b/system/sshfs-fuse/slack-desc @@ -1,6 +1,6 @@ |-----handy-ruler--------------------------------------------------| sshfs-fuse: -sshfs-fuse: This is a filesystem client based on the SSH File Transfer +sshfs-fuse: This is a filesystem client based on the SSH File Transfe sshfs-fuse: Protocol. Since most SSH servers already support this protocol it sshfs-fuse: is very easy to set up: i.e. on the server side there's nothing sshfs-fuse: to do. On the client side mounting the filesystem is as easy as @@ -9,4 +9,4 @@ sshfs-fuse: sshfs-fuse: sshfs-fuse: Requires FUSE (File-System in User Space) sshfs-fuse: -sshfs-fuse: +sshfs-fuse: Packaged by Alan Hicks <alan@lizella.net> diff --git a/system/sshfs-fuse/sshfs-fuse.SlackBuild b/system/sshfs-fuse/sshfs-fuse.SlackBuild index 6b7bce42109b..d3677b0afd3f 100644 --- a/system/sshfs-fuse/sshfs-fuse.SlackBuild +++ b/system/sshfs-fuse/sshfs-fuse.SlackBuild @@ -19,7 +19,8 @@ # OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. -# Modified by the SlackBuilds.org project. + +# Exit on most errors set -e @@ -57,19 +58,25 @@ CXXFLAGS="$SLKCFLAGS" \ --sysconfdir=/etc \ --localstatedir=/var +# Compile the application and install it into the $PKG directory make make install DESTDIR=$PKG + +# Strip binaries and libraries - this can be done with 'make install-strip' +# in many source trees, and that's preferable if so, but if not, use this ( cd $PKG find . | xargs file | grep "executable" | grep ELF | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null find . | xargs file | grep "shared object" | grep ELF | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null ) +# Copy program documentation into the package mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION cp -a AUTHORS FAQ.txt COPYING INSTALL NEWS ChangeLog README \ $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 |