aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorrhatto <rhatto@370017ae-e619-0410-ac65-c121f96126d4>2006-09-07 22:30:02 +0000
committerrhatto <rhatto@370017ae-e619-0410-ac65-c121f96126d4>2006-09-07 22:30:02 +0000
commitd73d14d85254e4d354d6dfdcbf408e67e3424783 (patch)
treea52ad6bf50a875b7230df01b5b6a0133893539b5
parenta3bb107c28b1264d024c9fe268787dda8ead4c91 (diff)
downloadslackbuilds-d73d14d85254e4d354d6dfdcbf408e67e3424783.tar.gz
slackbuilds-d73d14d85254e4d354d6dfdcbf408e67e3424783.tar.bz2
added strip on some scripts
git-svn-id: svn+slack://slack.fluxo.info/var/svn/slackbuilds@167 370017ae-e619-0410-ac65-c121f96126d4
-rwxr-xr-xgnash/gnash.SlackBuild3
-rwxr-xr-xnano/nano.SlackBuild3
2 files changed, 6 insertions, 0 deletions
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: