wok rev 2830

Nail: avoid compiling with krb5, use CONFIG_FILES
author Pierre-Jean Fichet <sygne@ombres.eu>
date Thu Apr 30 10:10:02 2009 +0000 (2009-04-30)
parents 962995a7d54a
children aaea09f5ebb3
files nail/receipt
line diff
     1.1 --- a/nail/receipt	Thu Apr 30 10:06:33 2009 +0000
     1.2 +++ b/nail/receipt	Thu Apr 30 10:10:02 2009 +0000
     1.3 @@ -5,12 +5,13 @@
     1.4  CATEGORY="network"
     1.5  SHORT_DESC="Text mode mail user agent."
     1.6  MAINTAINER="sygne@ombres.eu"
     1.7 -DEPENDS="openssl libkrb5"
     1.8 +DEPENDS="openssl"
     1.9  BUILD_DEPENDS="openssl-dev"
    1.10  SOURCE="mailx"
    1.11  TARBALL="$SOURCE-$VERSION.tar.bz2"
    1.12  WEB_SITE="http://heirloom.sourceforge.net/mailx.html"
    1.13  WGET_URL="$SF_MIRROR/heirloom/$TARBALL"
    1.14 +CONFIG_FILES="/etc/nailrc"
    1.15  
    1.16  # Rules to configure and make the package.
    1.17  compile_rules()
    1.18 @@ -21,6 +22,7 @@
    1.19  	make config.h
    1.20  	sed -i -e "/GSSAPI/d" config.h
    1.21  	sed -i -e "/gssapi/d" config.h
    1.22 +	sed -i -e "s/-lgssapi_krb5//g" LIBS
    1.23  	
    1.24  	make install UCBINSTALL=/usr/bin/install \
    1.25  	DESTDIR=$PWD/_pkg PREFIX=/usr	
    1.26 @@ -37,17 +39,6 @@
    1.27  	cp -r $_pkg/etc $fs
    1.28  }
    1.29  
    1.30 -# Pre and post install commands for Tazpkg.
    1.31 -pre_install()
    1.32 -{
    1.33 -	echo ""
    1.34 -	echo "Processing pre_install commands"
    1.35 -	echo ""
    1.36 -	echo "Moving $1/etc/nail.rc to $1/etc/nail.rc.old"
    1.37 -	echo ""
    1.38 -	mv $1/etc/nail.rc $1/etc/nail.rc.old
    1.39 -}
    1.40 -
    1.41  # Post install commands for Tazpkg.
    1.42  # Check mailx
    1.43  post_install()