summaryrefslogtreecommitdiff
path: root/manualPorts/alpine/Pkgfile
blob: 4ce1ecc1b32717edcc3973f3437b54152d0c54b1 (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
# Description: Apache licensed PINE mail user agent
# URL: http://alpine.freeiz.com
# Maintainer: Erich Eckner, crux at eckner dot net
# Depends on: libldap krb5 gettext procmail

name=alpine
version=2.26.r30.fb3f153
_commit=${version##*.}
release=1
source=("http://repo.or.cz/alpine.git/snapshot/${_commit}.tar.gz"
default-pipe.patch
rules.patch)

build() {

    cd "alpine-${_commit}"
    patch -p1 -i "${SRC}/default-pipe.patch"
    patch -p1 -i "${SRC}/rules.patch"

    ./configure \
      --prefix=/usr \
      --with-passfile=.pine-passfile \
      --with-system-pinerc=/etc/${name}.d/pine.conf \
      --with-system-fixed-pinerc=/etc/${name}.d/pine.conf.fixed
    make -j1
    make DESTDIR=$PKG install

}