wok-stable rev 12459
lives: fix symlink (thanks I-Jurij)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Fri Apr 28 08:19:20 2017 +0200 (2017-04-28) |
parents | 62cd9745716a |
children | 1c5686cd4004 |
files | lives/receipt |
line diff
1.1 --- a/lives/receipt Wed Dec 28 14:33:41 2016 +0100 1.2 +++ b/lives/receipt Fri Apr 28 08:19:20 2017 +0200 1.3 @@ -16,22 +16,22 @@ 1.4 # 1.5 compile_rules() 1.6 { 1.7 - cd $src 1.8 + sed -i 's|\$(LN_S) \$(DESTDIR)\$(bindir)/lives-exe|$(LN_S) lives-exe|' Makefile* 1.9 ./configure \ 1.10 --prefix=/usr \ 1.11 --disable-jack \ 1.12 $CONFIGURE_ARGS && 1.13 make && 1.14 - make DESTDIR=$PWD/_pkg install 1.15 + make DESTDIR=$DESTDIR install 1.16 } 1.17 1.18 # Rules to gen a SliTaz package suitable for Tazpkg. 1.19 genpkg_rules() 1.20 { 1.21 mkdir -p $fs/usr/lib $fs/usr/share 1.22 - cp -a $_pkg/usr/bin $fs/usr 1.23 - cp -a $_pkg/usr/lib/*.so* $fs/usr/lib 1.24 - cp -a $_pkg/usr/lib/lives $fs/usr/lib 1.25 - cp -a $_pkg/usr/share/lives $fs/usr/share 1.26 + cp -a $install/usr/bin $fs/usr 1.27 + cp -a $install/usr/lib/*.so* $fs/usr/lib 1.28 + cp -a $install/usr/lib/lives $fs/usr/lib 1.29 + cp -a $install/usr/share/lives $fs/usr/share 1.30 find $fs/usr/lib/lives -name "*.la" -exec rm '{}' \; 1.31 }