blob: bfe792663b2ed355043dccf53cbaf714a797e3f7 (
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
50
51
52
53
54
55
56
57
58
59
|
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=alpine
pkgver=2.20
_ver=${pkgver%_p*}
_pver=${pkgver##*_p}
pkgrel=3
pkgdesc="Text-based email client, friendly for novices but powerful"
url="http://www.washington.edu/alpine/"
arch="all"
license="ASL 2.0"
depends=""
makedepends="openldap-dev heimdal-dev ncurses-dev openssl-dev
automake autoconf libtool"
subpackages="$pkgname-doc"
source="http://patches.freeiz.com/alpine/patches/alpine-$pkgver/alpine-$pkgver.tar.xz
uclibc-musl.patch
"
_builddir="$srcdir"/$pkgname-$_ver
prepare() {
cd "$_builddir"
for i in $source; do
case $i in
*.patch)
msg "Applying $i"
patch -p1 -i "$srcdir"/$i || return 1
;;
esac
done
libtoolize --force && aclocal -I m4 && autoconf \
&& automake --force --add-missing || return 1
}
build() {
cd "$_builddir"
./configure \
--build=$CBUILD \
--host=$CHOST \
--prefix=/usr \
--with-passfile=.pine-pass \
--without-tcl \
--disable-shared \
--with-system-pinerc=/etc/alpine.d/pine.conf \
--with-system-fixed-pinerc=/etc/alpine.d/pine.conf.fixed \
|| return 1
make
}
package() {
cd "$_builddir"
make DESTDIR="$pkgdir" install || return 1
}
md5sums="ca760edc1b8849fd348cf9f5bf7333f3 alpine-2.20.tar.xz
f9d8a0f9d6722ba15c473a7925a64285 uclibc-musl.patch"
sha256sums="da7a2928a4040d4af9ff617e87122aa8d1171f455608e0f2f74c24cfa3fe882d alpine-2.20.tar.xz
96b3f504fbb91cfe5e3f7eb970ae618069eee54a0007e905d7aa4f6d514c9df8 uclibc-musl.patch"
sha512sums="6aa0c75c79e51a45b61f72e1eb7724c145a4c385a9a083e622989455f5e9e493d8e2ddec637a652357cd1d1482109944eb6931de42d6aae526f76edcf8ceb48f alpine-2.20.tar.xz
1b14352571dd12749bbb6ebc1fd468dbb5a8e4d7a27e87f5baeb00a60d5c1a016d925c6bc776da7e1dbf0ad8d799a65049b64774113274d7ffb07c7b1b196775 uclibc-musl.patch"
|