]> gitweb.fluxo.info Git - slackbuilds.git/commitdiff
added strip on lives
authorrhatto <rhatto@370017ae-e619-0410-ac65-c121f96126d4>
Thu, 7 Sep 2006 22:26:21 +0000 (22:26 +0000)
committerrhatto <rhatto@370017ae-e619-0410-ac65-c121f96126d4>
Thu, 7 Sep 2006 22:26:21 +0000 (22:26 +0000)
git-svn-id: svn+slack://slack.fluxo.info/var/svn/slackbuilds@166 370017ae-e619-0410-ac65-c121f96126d4

lives/lives.SlackBuild

index 69f60470dbf6bfffe2724e629a1502da2d0c803d..16f93174c7617e8691ee4c73765c5acd08753efd 100755 (executable)
@@ -70,6 +70,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: