wok-6.x diff perdition/receipt @ rev 18248

tazpanel-extra/floppy.cgi: multiple files support
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sun Aug 02 13:31:26 2015 +0200 (2015-08-02)
parents 068411ccd1e5
children 9e01bc6321ea
line diff
     1.1 --- a/perdition/receipt	Mon May 09 00:31:44 2011 +0000
     1.2 +++ b/perdition/receipt	Sun Aug 02 13:31:26 2015 +0200
     1.3 @@ -5,14 +5,16 @@
     1.4  CATEGORY="network"
     1.5  SHORT_DESC="IMAP/POP proxy."
     1.6  MAINTAINER="pascal.bellard@slitaz.org"
     1.7 +LICENSE="GPL2"
     1.8  TARBALL="$PACKAGE-$VERSION.tar.gz"
     1.9  WEB_SITE="http://www.vergenet.net/linux/$PACKAGE"
    1.10  WGET_URL="$WEB_SITE/download/$VERSION/$TARBALL"
    1.11 +CONFIG_FILES="/etc/perdition"
    1.12 +BUGS="Very slow: more than 10 seconds for login with squirrelmail, why ?"
    1.13 +
    1.14  BUILD_DEPENDS="vanessa_logger-dev vanessa_logger vanessa_adt-dev vanessa_adt vanessa_socket-dev vanessa_socket openldap-dev popt-dev cyrus-sasl-dev"
    1.15  DEPENDS="vanessa_logger vanessa_adt vanessa_socket libldap openssl cyrus-sasl \
    1.16   glibc-base libkrb5 libcomerr3 gdbm"
    1.17 -CONFIG_FILES="/etc/perdition"
    1.18 -BUGS="Very slow: more than 10 seconds for login with squirrelmail, why ?"
    1.19  
    1.20  # Rules to configure and make the package.
    1.21  compile_rules()
    1.22 @@ -26,18 +28,18 @@
    1.23  	--mandir=/usr/share/man $CONFIGURE_ARGS || return 1
    1.24  	sed -i 's/#define WITH_PAM_SUPPORT 1/#undef WITH_PAM_SUPPORT/' config.h
    1.25  	make &&
    1.26 -	make DESTDIR=$PWD/_pkg install
    1.27 +	make DESTDIR=$DESTDIR install
    1.28  }
    1.29  
    1.30  # Rules to gen a SliTaz package suitable for Tazpkg.
    1.31  genpkg_rules()
    1.32  {
    1.33  	mkdir -p $fs/usr/lib $fs/etc/openldap/schema
    1.34 -	cp -a $_pkg/etc $fs
    1.35 +	cp -a $install/etc $fs
    1.36  	rm -f $fs/etc/perdition/perdition.conf
    1.37  	cp -a stuff/etc $fs
    1.38 -	cp -a $_pkg/usr/sbin $fs/usr
    1.39 -	cp -a $_pkg/usr/lib/*.so* $fs/usr/lib
    1.40 +	cp -a $install/usr/sbin $fs/usr
    1.41 +	cp -a $install/usr/lib/*.so* $fs/usr/lib
    1.42  	for i in pop3 pop3s imap4 imap4s imaps; do
    1.43  		mkdir -p $fs/var/run/perdition.$i
    1.44  	done