wok-6.x diff xgalaga/receipt @ rev 19817
Add missing web_sites
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Thu Mar 02 15:39:34 2017 +0100 (2017-03-02) |
parents | a2f46addb1eb |
children | 86790a278e70 |
line diff
1.1 --- a/xgalaga/receipt Thu Nov 06 11:33:11 2014 +0100 1.2 +++ b/xgalaga/receipt Thu Mar 02 15:39:34 2017 +0100 1.3 @@ -23,7 +23,12 @@ 1.4 -e 's|@exec_prefix@|/usr/bin|' \ 1.5 -e 's|@CREDITSFILE@|/usr/share/xgalaga/CREDITS|' \ 1.6 Makefile.in 1.7 - ./configure $CONFIGURE_ARGS && 1.8 + ./configure $CONFIGURE_ARGS 1.9 + sed -i -e 's|/usr/sounds/|/usr/share/xgalaga/sounds/|' \ 1.10 + -e 's|/usr/levels/|/usr/share/xgalaga/levels/|' \ 1.11 + -e 's|/usr/CREDITS|/usr/share/xgalaga/CREDITS|' \ 1.12 + -e 's|/usr/scores|/var/games/xgalaga/scores|' \ 1.13 + config.h 1.14 make && 1.15 make DESTDIR=$DESTDIR install 1.16 } 1.17 @@ -31,8 +36,9 @@ 1.18 # Rules to gen a SliTaz package suitable for Tazpkg. 1.19 genpkg_rules() 1.20 { 1.21 - mkdir -p $fs/usr/share 1.22 + mkdir -p $fs/usr/share/applications $fs/var/games/xgalaga/scores 1.23 cp -a $install/usr/share/xgalaga $fs/usr/share 1.24 cp -a $install/usr/bin $fs/usr 1.25 + cp $stuff/*.desktop $fs/usr/share/applications 1.26 } 1.27