wok rev 9069

squirrelmail-smallcal: fix genpkg_rules
author Pascal Bellard <pascal.bellard@slitaz.org>
date Fri Mar 04 14:43:55 2011 +0100 (2011-03-04)
parents 67add2e0238f
children 5ae6a120b179 f256feada564
files squirrelmail-smallcal/receipt
line diff
     1.1 --- a/squirrelmail-smallcal/receipt	Fri Mar 04 08:06:06 2011 +0000
     1.2 +++ b/squirrelmail-smallcal/receipt	Fri Mar 04 14:43:55 2011 +0100
     1.3 @@ -11,11 +11,18 @@
     1.4  DEPENDS="squirrelmail squirrelmail-compatibility-plugin"
     1.5  WGET_URL="${WEB_SITE}plugins/$TARBALL"
     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 $DESTDIR/$SOURCE
    1.12 +}
    1.13 +
    1.14  # Rules to gen a SliTaz package suitable for Tazpkg.
    1.15  genpkg_rules()
    1.16  {
    1.17  	mkdir -p $fs/usr/share/squirrelmail/plugins
    1.18 -	cp -a $SOURCE $fs/usr/share/squirrelmail/plugins
    1.19 +	cp -a $_pkg/$SOURCE $fs/usr/share/squirrelmail/plugins
    1.20  }
    1.21  
    1.22  post_install()