wok-4.x rev 4194

netatalk*: fix FSH
author Pascal Bellard <pascal.bellard@slitaz.org>
date Wed Sep 23 16:37:17 2009 +0200 (2009-09-23)
parents 377c0ffa78b5
children cf4c2aefe16c
files netatalk-pam/receipt netatalk/receipt
line diff
     1.1 --- a/netatalk-pam/receipt	Wed Sep 23 16:16:08 2009 +0200
     1.2 +++ b/netatalk-pam/receipt	Wed Sep 23 16:37:17 2009 +0200
     1.3 @@ -23,6 +23,7 @@
     1.4  		patch -p1  < ../../$SOURCE/stuff/netatalk-2.0.3-newer-db.patch
     1.5  	touch done.netatalk-2.0.3-newer-db.patch
     1.6  	./configure --with-pam --prefix=/usr --sysconfdir=/etc \
     1.7 +	--libexecdir=/usr/lib/netatalk \
     1.8  	--mandir=/usr/share/man $CONFIGURE_ARGS &&
     1.9  	make &&
    1.10  	make DESTDIR=$PWD/_pkg install
    1.11 @@ -31,10 +32,10 @@
    1.12  # Rules to gen a SliTaz package suitable for Tazpkg.
    1.13  genpkg_rules()
    1.14  {
    1.15 -	mkdir -p $fs/usr/share
    1.16 +	mkdir -p $fs/usr/share $fs/usr/lib
    1.17  	cp -a $_pkg/usr/bin $fs/usr
    1.18  	cp -a $_pkg/usr/sbin $fs/usr
    1.19 -	cp -a $_pkg/usr/libexec $fs/usr
    1.20 +	cp -a $_pkg/usr/lib/netatalk $fs/usr/lib
    1.21  	cp -a $_pkg/etc $fs
    1.22  	cp -a stuff/etc $fs
    1.23  	rm -f $fs/etc/netatalk/uams/*a
     2.1 --- a/netatalk/receipt	Wed Sep 23 16:16:08 2009 +0200
     2.2 +++ b/netatalk/receipt	Wed Sep 23 16:37:17 2009 +0200
     2.3 @@ -23,6 +23,7 @@
     2.4  	sed -i  -e 's/pam =/pam_x =/' -e 's/USE_PAM, 1,/USE_PAM, 0,/' \
     2.5  		-e 's/pam_so =/pam_so_x =/' configure.in
     2.6  	./configure --without-pam --prefix=/usr --sysconfdir=/etc \
     2.7 +	--libexecdir=/usr/lib/netatalk \
     2.8  	--mandir=/usr/share/man $CONFIGURE_ARGS &&
     2.9  	make &&
    2.10  	make DESTDIR=$PWD/_pkg install
    2.11 @@ -31,17 +32,12 @@
    2.12  # Rules to gen a SliTaz package suitable for Tazpkg.
    2.13  genpkg_rules()
    2.14  {
    2.15 -	mkdir -p $fs/usr/share
    2.16 +	mkdir -p $fs/usr/share $fs/usr/lib
    2.17  	cp -a $_pkg/usr/bin $fs/usr
    2.18  	cp -a $_pkg/usr/sbin $fs/usr
    2.19 -	cp -a $_pkg/usr/libexec $fs/usr
    2.20 +	cp -a $_pkg/usr/lib/netatalk $fs/usr/lib
    2.21  	cp -a $_pkg/etc $fs
    2.22  	rm -f $fs/etc/netatalk/uams/*a
    2.23 -	# Package all netatalk pkgs
    2.24 -	for i in $(cd $WOK; ls -d netatalk-*)
    2.25 -	do
    2.26 -		tazwok genpkg $i
    2.27 -	done
    2.28  }
    2.29  
    2.30  # Pre and post install commands for Tazpkg.