wok-next diff squirrelmail-bookmarks/receipt @ rev 21087
Updates...
Revert names: libsdl -> sdl, libsmpeg -> smpeg, libtdb -> tdb
Revert names: libsdl -> sdl, libsmpeg -> smpeg, libtdb -> tdb
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Fri Dec 28 05:11:49 2018 +0200 (2018-12-28) |
parents | c4e53a39395a |
children |
line diff
1.1 --- a/squirrelmail-bookmarks/receipt Fri Mar 02 12:12:14 2018 +0200 1.2 +++ b/squirrelmail-bookmarks/receipt Fri Dec 28 05:11:49 2018 +0200 1.3 @@ -1,29 +1,23 @@ 1.4 -# SliTaz package receipt. 1.5 +# SliTaz package receipt v2. 1.6 1.7 PACKAGE="squirrelmail-bookmarks" 1.8 VERSION="2.0.3-1.4.1" 1.9 CATEGORY="network" 1.10 -SHORT_DESC="Store and manage favorites lists within the Squirrelmail interface." 1.11 +SHORT_DESC="Store and manage favorites lists within the Squirrelmail interface" 1.12 MAINTAINER="pascal.bellard@slitaz.org" 1.13 LICENSE="GPL2" 1.14 +WEB_SITE="http://www.squirrelmail.org/" 1.15 + 1.16 SOURCE="bookmarks" 1.17 TARBALL="$SOURCE-$VERSION.tar.gz" 1.18 -WEB_SITE="http://www.squirrelmail.org/" 1.19 WGET_URL="${WEB_SITE}plugins/$TARBALL" 1.20 -CONFIG_FILES="/etc/squirrelmail/bookmarks_data.php" 1.21 1.22 -DEPENDS="squirrelmail" 1.23 - 1.24 -# Rules to configure and make the package. 1.25 -compile_rules() 1.26 -{ 1.27 - mkdir -p $DESTDIR 1.28 - cp -a $src $DESTDIR/$SOURCE 1.29 +compile_rules() { 1.30 + mkdir -p $install 1.31 + cp -a $src $install/$SOURCE 1.32 } 1.33 1.34 -# Rules to gen a SliTaz package suitable for Tazpkg. 1.35 -genpkg_rules() 1.36 -{ 1.37 +genpkg_rules() { 1.38 mkdir -p $fs/usr/share/squirrelmail/plugins $fs/etc/squirrelmail 1.39 cp -a $install/$SOURCE $fs/usr/share/squirrelmail/plugins 1.40 rm -f $fs/usr/share/squirrelmail/plugins/$SOURCE/bookmarks_data.php 1.41 @@ -31,14 +25,14 @@ 1.42 $fs/etc/squirrelmail/bookmarks_data.php 1.43 ln -s ../../../../../etc/squirrelmail/bookmarks_data.php \ 1.44 $fs/usr/share/squirrelmail/plugins/$SOURCE/bookmarks_data.php 1.45 + DEPENDS="squirrelmail" 1.46 + CONFIG_FILES="/etc/squirrelmail/bookmarks_data.php" 1.47 } 1.48 1.49 -post_install() 1.50 -{ 1.51 +post_install() { 1.52 echo "\$plugins[] = '$SOURCE';" >> "$1/etc/squirrelmail/config_local.php" 1.53 } 1.54 1.55 -pre_remove() 1.56 -{ 1.57 +pre_remove() { 1.58 sed -i "/\$plugins.. = '$SOURCE';/d" /etc/squirrelmail/config_local.php 1.59 }