# HG changeset patch # User Pascal Bellard # Date 1493211616 -7200 # Node ID b0eb186f4ba96a2f3107c2482b6559f49ca7978c # Parent 9e8e47282d8a2c25d262230e9cdece07345e6083 lives: fix symlink (thanks I-Jurij) diff -r 9e8e47282d8a -r b0eb186f4ba9 lives/receipt --- a/lives/receipt Mon Apr 24 09:34:36 2017 +0200 +++ b/lives/receipt Wed Apr 26 15:00:16 2017 +0200 @@ -18,25 +18,25 @@ # compile_rules() { - cd $src - ./configure \ - --prefix=/usr \ - --disable-jack \ - $CONFIGURE_ARGS && - make && - make DESTDIR=$DESTDIR install 2>&1 | \ - sed "s/gmo': No such file/gmo': no such file/" + sed -i 's|\$(LN_S) \$(DESTDIR)\$(bindir)/lives-exe|$(LN_S) lives-exe|' Makefile* + ./configure \ + --prefix=/usr \ + --disable-jack \ + $CONFIGURE_ARGS && + make && + make DESTDIR=$DESTDIR install 2>&1 | \ + sed "s/gmo': No such file/gmo': no such file/" } # Rules to gen a SliTaz package suitable for Tazpkg. genpkg_rules() { - mkdir -p $fs/usr/lib $fs/usr/share - cp -a $install/usr/bin $fs/usr - cp -a $install/usr/lib/*.so* $fs/usr/lib - cp -a $install/usr/lib/lives $fs/usr/lib - cp -a $install/usr/share/lives $fs/usr/share - find $fs/usr/lib/lives -name "*.la" -exec rm '{}' \; - # Fix the name (.desktop) file. - sed -i 's/^Exec=.*/Exec=lives-exe/' $install/usr/share/applications/LiVES.desktop + mkdir -p $fs/usr/lib $fs/usr/share + cp -a $install/usr/bin $fs/usr + cp -a $install/usr/lib/*.so* $fs/usr/lib + cp -a $install/usr/lib/lives $fs/usr/lib + cp -a $install/usr/share/lives $fs/usr/share + find $fs/usr/lib/lives -name "*.la" -exec rm '{}' \; + # Fix the name (.desktop) file. + sed -i 's/^Exec=.*/Exec=lives-exe/' $install/usr/share/applications/LiVES.desktop }