wok-next rev 9093
emacs-pkg-lua-mode: fix genpkg_rules
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Fri Mar 04 20:20:15 2011 +0100 (2011-03-04) |
parents | 95b630dd602d |
children | 0371f280ddc6 |
files | emacs-pkg-lua-mode/receipt |
line diff
1.1 --- a/emacs-pkg-lua-mode/receipt Fri Mar 04 13:36:54 2011 +0000 1.2 +++ b/emacs-pkg-lua-mode/receipt Fri Mar 04 20:20:15 2011 +0100 1.3 @@ -12,13 +12,19 @@ 1.4 WGET_URL="http://luaforge.net/frs/download.php/2724/$TARBALL" 1.5 TAGS="emacs lua" 1.6 1.7 +# Rules to configure and make the package. 1.8 +compile_rules() 1.9 +{ 1.10 + mkdir -p $DESTDIR 1.11 + cp -a $src/*.el $DESTDIR/ 1.12 +} 1.13 1.14 # Rules to gen a SliTaz package suitable for Tazpkg. 1.15 genpkg_rules() 1.16 { 1.17 echo -n "Installing lua-mode" 1.18 mkdir -p $fs/usr/share/emacs/site-lisp/lua-mode && \ 1.19 - cp $WOK/$PACKAGE/*.el $fs/usr/share/emacs/site-lisp/lua-mode 1.20 + cp $DESTDIR/*.el $fs/usr/share/emacs/site-lisp/lua-mode 1.21 status 1.22 1.23 echo -n "Installing start file"