From d73d14d85254e4d354d6dfdcbf408e67e3424783 Mon Sep 17 00:00:00 2001 From: rhatto Date: Thu, 7 Sep 2006 22:30:02 +0000 Subject: added strip on some scripts git-svn-id: svn+slack://slack.fluxo.info/var/svn/slackbuilds@167 370017ae-e619-0410-ac65-c121f96126d4 --- gnash/gnash.SlackBuild | 3 +++ nano/nano.SlackBuild | 3 +++ 2 files changed, 6 insertions(+) diff --git a/gnash/gnash.SlackBuild b/gnash/gnash.SlackBuild index 504878e8..45779f25 100755 --- a/gnash/gnash.SlackBuild +++ b/gnash/gnash.SlackBuild @@ -71,6 +71,9 @@ CWD="`pwd`" cd $TMP/package-$PACKAGE +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 + mkdir install cat << EOF > install/slack-desc # HOW TO EDIT THIS FILE: diff --git a/nano/nano.SlackBuild b/nano/nano.SlackBuild index 889f2166..6cafdd51 100755 --- a/nano/nano.SlackBuild +++ b/nano/nano.SlackBuild @@ -67,6 +67,9 @@ CWD="`pwd`" cd $TMP/package-$PACKAGE +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 + mkdir install cat << EOF > install/slack-desc # HOW TO EDIT THIS FILE: -- cgit v1.2.3