milis/talimatname/genel/fetchmail/talimat

28 lines
574 B
Plaintext
Raw Normal View History

2017-01-31 01:37:09 +01:00
# Description: Retrieves mail from remote mail servers and forwards it to the local machine's
2016-02-24 01:27:23 +01:00
# URL: http://www.fetchmail.info
2017-01-31 01:37:09 +01:00
# Packager: milisarge
2016-02-24 01:27:23 +01:00
# Depends on: openssl procmail python tk
2017-01-31 01:37:09 +01:00
2016-02-24 01:27:23 +01:00
name=fetchmail
2017-01-31 01:37:09 +01:00
version=6.3.26
2016-02-24 01:27:23 +01:00
release=1
source=(http://downloads.sourceforge.net/fetchmail/$name-$version.tar.xz
.fetchmailrc)
2017-01-31 01:37:09 +01:00
2016-02-24 01:27:23 +01:00
build() {
cd $name-$version
2017-01-31 01:37:09 +01:00
./configure --prefix=/usr --with-ssl --enable-fallback=procmail
2016-02-24 01:27:23 +01:00
make
2017-01-31 01:37:09 +01:00
2016-02-24 01:27:23 +01:00
make DESTDIR=$PKG install
2017-01-31 01:37:09 +01:00
2016-02-24 01:27:23 +01:00
install -v -m755 -d $PKG/root
cp -v $SRC/.fetchmailrc $PKG/root/.fetchmailrc
chmod -v 0600 $PKG/root/.fetchmailrc
2017-01-31 01:37:09 +01:00
2016-02-24 01:27:23 +01:00
}