blob: d8f37796f6761d427ac40b81a0d91b367e8f80b3 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
|
# Contributor: Michael Mason <ms13sp@gmail.com>
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=fetchmail
pkgver=6.3.23
pkgrel=0
pkgdesc="A remote-mail retrieval and forwarding utility"
url="http://fetchmail.berlios.de/"
arch="all"
license="GPL"
depends=
pkgusers="fetchmail"
pkggroups="fetchmail"
makedepends="openssl-dev python"
install="fetchmail.pre-install"
subpackages="$pkgname-doc fetchmailconf"
source="http://download.berlios.de/fetchmail/$pkgname-$pkgver.tar.bz2
fetchmail.initd"
build() {
cd "$srcdir/$pkgname-$pkgver"
./configure --prefix=/usr \
--sysconfdir=/etc \
--mandir=/usr/share/man \
--infodir=/usr/share/info \
--with-ssl \
--disable-nls
make || return 1
}
package() {
cd "$srcdir/$pkgname-$pkgver"
make DESTDIR="$pkgdir" install
install -Dm755 "$srcdir"/fetchmail.initd "$pkgdir"/etc/init.d/fetchmail
install -o fetchmail -g fetchmail -d "$pkgdir"/var/lib/fetchmail \
"$pkgdir"/var/run/fetchmail
}
fetchmailconf() {
depends="python"
pkgdesc="A GUI for generating fetchmail configuration files"
install=
mkdir -p "$subpkgdir"/usr/bin
cd "$pkgdir"
mv usr/bin/fetchmailconf "$subpkgdir"/usr/bin/
mv usr/lib "$subpkgdir"/usr/
}
md5sums="4bbed5e8ac2663d7450f479a8a9fa64a fetchmail-6.3.23.tar.bz2
20ad22948fd77cf24e2bb288af6fd266 fetchmail.initd"
|