wok-6.x rev 10538

ssmtp: fix path
author Pascal Bellard <pascal.bellard@slitaz.org>
date Wed May 25 18:47:49 2011 +0200 (2011-05-25)
parents a13c13eae41c
children 81f9c9f1f8fb
files ssmtp/receipt
line diff
     1.1 --- a/ssmtp/receipt	Wed May 25 18:31:49 2011 +0200
     1.2 +++ b/ssmtp/receipt	Wed May 25 18:47:49 2011 +0200
     1.3 @@ -6,6 +6,7 @@
     1.4  SHORT_DESC="Extremely simple MTA to get mail off the system to a mailhub."
     1.5  MAINTAINER="rocky@slitaz.org"
     1.6  DEPENDS="openssl"
     1.7 +BUILD_DEPENDS="openssl-dev"
     1.8  TARBALL="${PACKAGE}_${VERSION}.orig.tar.gz"
     1.9  WEB_SITE="http://packages.debian.org/stable/mail/ssmtp"
    1.10  WGET_URL="http://ftp.debian.org/debian/pool/main/s/ssmtp/$TARBALL"
    1.11 @@ -24,9 +25,9 @@
    1.12      make &&
    1.13  
    1.14      # Install
    1.15 -    mkdir -p $PWD/_pkg/usr/sbin $PWD/_pkg/etc/ssmtp
    1.16 -    cp ssmtp $PWD/_pkg/usr/sbin
    1.17 -    cp revaliases ssmtp.conf $PWD/_pkg/etc/ssmtp
    1.18 +    mkdir -p $DESTDIR/usr/sbin $DESTDIR/etc/ssmtp
    1.19 +    cp ssmtp $DESTDIR/usr/sbin
    1.20 +    cp revaliases ssmtp.conf $DESTDIR/etc/ssmtp
    1.21  }
    1.22  
    1.23  # Rules to gen a SliTaz package suitable for Tazpkg.