# HG changeset patch # User Pascal Bellard # Date 1299246235 -3600 # Node ID b936343846dfd54924dc6b549057ad6ad47b643b # Parent 67add2e0238f166b594ddf19491d4235d47f4074 squirrelmail-smallcal: fix genpkg_rules diff -r 67add2e0238f -r b936343846df squirrelmail-smallcal/receipt --- a/squirrelmail-smallcal/receipt Fri Mar 04 08:06:06 2011 +0000 +++ b/squirrelmail-smallcal/receipt Fri Mar 04 14:43:55 2011 +0100 @@ -11,11 +11,18 @@ DEPENDS="squirrelmail squirrelmail-compatibility-plugin" WGET_URL="${WEB_SITE}plugins/$TARBALL" +# Rules to configure and make the package. +compile_rules() +{ + mkdir -p $DESTDIR + cp -a $src $DESTDIR/$SOURCE +} + # Rules to gen a SliTaz package suitable for Tazpkg. genpkg_rules() { mkdir -p $fs/usr/share/squirrelmail/plugins - cp -a $SOURCE $fs/usr/share/squirrelmail/plugins + cp -a $_pkg/$SOURCE $fs/usr/share/squirrelmail/plugins } post_install()