From a8f00329e187186d1467537eb950aaee6a8b2ce7 Mon Sep 17 00:00:00 2001 From: Alan_Hicks Date: Tue, 11 May 2010 19:46:39 +0200 Subject: system/sshfs-fuse: Updated for version 1.8 --- system/sshfs-fuse/sshfs-fuse.SlackBuild | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) (limited to 'system/sshfs-fuse/sshfs-fuse.SlackBuild') diff --git a/system/sshfs-fuse/sshfs-fuse.SlackBuild b/system/sshfs-fuse/sshfs-fuse.SlackBuild index 6b7bce4210..d3677b0afd 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 -- cgit v1.2.3