mirror of
https://github.com/Ponce/slackbuilds
synced 2024-10-03 07:54:34 +02:00
system/yash: Move binary to /bin.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
This commit is contained in:
parent
77502fbd76
commit
e7032f58da
1 changed files with 5 additions and 2 deletions
|
@ -24,7 +24,7 @@
|
|||
|
||||
PRGNAM=yash
|
||||
VERSION=${VERSION:-2.45}
|
||||
BUILD=${BUILD:-1}
|
||||
BUILD=${BUILD:-2}
|
||||
TAG=${TAG:-_SBo}
|
||||
|
||||
if [ -z "$ARCH" ]; then
|
||||
|
@ -71,13 +71,16 @@ find -L . \
|
|||
|
||||
sh ./configure \
|
||||
--prefix=/usr \
|
||||
--bindir=/usr/bin \
|
||||
--bindir=/bin \
|
||||
--mandir=/usr/man \
|
||||
--docdir=/usr/doc/$PRGNAM-$VERSION
|
||||
|
||||
make
|
||||
make install-strip DESTDIR=$PKG
|
||||
|
||||
mkdir -p $PKG/usr/bin
|
||||
( cd $PKG/usr/bin ; ln -sf /bin/yash yash )
|
||||
|
||||
find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \
|
||||
| cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
|
||||
|
||||
|
|
Loading…
Reference in a new issue