wok-next diff netatalk/receipt @ rev 20334

Remove linux-uml & lxpanel-plugin-multiload
author Pascal Bellard <pascal.bellard@slitaz.org>
date Thu Nov 16 16:28:30 2017 +0100 (2017-11-16)
parents 204470f08d82
children e6615350078d
line diff
     1.1 --- a/netatalk/receipt	Wed Nov 08 14:51:34 2017 +0100
     1.2 +++ b/netatalk/receipt	Thu Nov 16 16:28:30 2017 +0100
     1.3 @@ -22,7 +22,7 @@
     1.4  		--libexecdir=/usr/lib/netatalk \
     1.5  		--mandir=/usr/share/man $CONFIGURE_ARGS &&
     1.6  	make &&
     1.7 -	make DESTDIR=$DESTDIR install
     1.8 +	make DESTDIR=$DESTDIR install || return 1
     1.9  
    1.10  	cd $src-pam
    1.11  	./configure --with-pam --prefix=/usr --sysconfdir=/etc \
    1.12 @@ -37,16 +37,19 @@
    1.13  {
    1.14  	DEPENDS="perl libdb libcrypto cups gnutls libgcrypt libgpg-error  \
    1.15  		libwrap zlib libcomerr3"
    1.16 -	[ $PACKAGE == netatalk-pam ] && DEPENDS="$DEPENDS pam" &&
    1.17 -		PROVIDE="netatalk:pam" && CAT="system-tools|using PAM" &&
    1.18 +	if [ $PACKAGE == 'netatalk-pam' ]; then
    1.19 +		DEPENDS="$DEPENDS pam"
    1.20 +		PROVIDE="netatalk:pam"
    1.21 +		CAT="system-tools|using PAM"
    1.22  		install=$install-pam
    1.23 +	fi
    1.24  	mkdir -p $fs/usr/share $fs/usr/lib
    1.25  	cp -a $install/usr/bin $fs/usr
    1.26  	cp -a $install/usr/sbin $fs/usr
    1.27  	#cp -a $install/usr/lib/netatalk $fs/usr/lib
    1.28  	cp -a $install/etc $fs
    1.29  	cp -a $stuff/etc $fs
    1.30 -	[ $PACKAGE == netatalk-pam ] || rm -rf $fs/etc/pam.d
    1.31 +	[ $PACKAGE == 'netatalk-pam' ] || rm -rf $fs/etc/pam.d
    1.32  	rm -f $fs/etc/netatalk/uams/*a
    1.33  }
    1.34