You are not logged in.

#1 2003-02-21 21:25:55

Rouslan
Member
From: New York USA
Registered: 2002-11-13
Posts: 76

stripping /opt packages

packages in opt directory do not get stripped during the makepkg process, to fix that I added opt/$pkgname to makepkg script for stripping, so it looks like this:

# strip binaries
cd $startdir
msg "==> Stripping debugging symbols from libraries..."
find pkg/{,usr,usr/local,opt/$pkgname}/lib -type f -exec /usr/bin/strip --strip-debug '{}' ';' 2>&1
msg "==> Stripping symbols from binaries..."
find pkg/{,usr,usr/local,opt/$pkgname}/{bin,sbin} -type f -exec /usr/bin/strip '{}' ';' 2>&1

I used it on phoenix, but it also can be useful for openoffice, kde, gnome, qt, mozilla and such.


Rouslan

Offline

#2 2003-02-22 19:01:21

apeiro
Daddy
From: Victoria, BC, Canada
Registered: 2002-08-12
Posts: 771
Website

Re: stripping /opt packages

Hmm... good point.  I'll fix that up for makepkg 2.3

Offline

Board footer

Powered by FluxBB