CRUX-ARM : Home

Home :: Documentation :: Download :: Development :: Community :: Ports :: Packages :: Bugs :: Links :: About :: Donors
Imported core-cross ports from 2.5
[crossrootfs.git] / msmtp / Pkgfile
1 # Description: An SMTP client suitable for use with mutt etc.
2 # URL: http://msmtp.sourceforge.net/
3 # Packager: Jukka Heino, jukka dot heino at gmail dot com
4 # Maintainer: Juergen Daubert, juergen dot daubert at t-online dot de
5 # Arch Maintainer: CRUX-ARM System Team, crux-arm at mikeux dot dyndns dot org
6 # Depends on: openssl
7
8 name=msmtp
9 version=1.4.17
10 release=1
11 source=(http://dl.sourceforge.net/sourceforge/$name/$name-$version.tar.bz2)
12
13 build() {
14 cd $name-$version
15 ./configure --build=$CHOST \
16 --host=$CTARGET \
17 --prefix=/usr \
18 --mandir=/usr/man \
19 --with-ssl=openssl \
20 --disable-nls
21 make
22 make DESTDIR=$PKG install
23 rm -r $PKG/usr/share
24 install -d $PKG/usr/{sbin,man/man8}
25 ln -s /usr/bin/$name $PKG/usr/sbin/sendmail
26 ln -s /usr/man/man1/$name.1 $PKG/usr/man/man8/sendmail.8
27 }