opt/masqmail/Pkgfile

36 lines
1012 B
Plaintext
Raw Normal View History

2010-06-01 11:47:28 +02:00
# Description: Mail Transfer Agent for workstations and local networks
# URL: http://marmaro.de/prog/masqmail/
# Maintainer: Juergen Daubert, juergen dot daubert at t-online dot de
2006-02-23 16:26:10 +01:00
# Depends on: glib
name=masqmail
2015-02-14 13:42:11 +01:00
version=0.3.5
release=3
2010-06-21 13:42:00 +02:00
source=(http://marmaro.de/prog/masqmail/files/$name-$version.tar.gz
masqmail)
2006-02-23 16:26:10 +01:00
build () {
cd $name-$version
2010-06-01 11:47:28 +02:00
2006-02-23 16:26:10 +01:00
./configure --prefix=/usr \
2010-06-01 11:47:28 +02:00
--mandir=/usr/man \
2006-02-23 16:26:10 +01:00
--with-user=mail \
2010-06-01 11:47:28 +02:00
--with-group=mail
2006-02-23 16:26:10 +01:00
make
make DESTDIR=$PKG install
ln -s masqmail $PKG/usr/sbin/sendmail
ln -s ../sbin/masqmail $PKG/usr/bin/mailq
install -m 644 examples/* $PKG/etc/masqmail
2006-02-23 16:26:10 +01:00
install -D -m 755 $SRC/masqmail $PKG/etc/rc.d/masqmail
2010-06-01 11:47:28 +02:00
install -d -o mail -g mail $PKG/var/{log,lock,spool}/masqmail
2010-06-01 11:47:28 +02:00
touch $PKG/var/log/masqmail/{masqmail,debug}.log
chown mail:mail $PKG/var/log/masqmail/*
chmod 1777 $PKG/var/lock
rm $PKG/usr/share/masqmail/tpl/*.tpl.*
rm -r $PKG/usr/share/doc
2006-02-23 16:26:10 +01:00
}