33 lines
1.2 KiB
Bash
33 lines
1.2 KiB
Bash
|
# Template file for 'alpine'
|
||
|
pkgname=alpine
|
||
|
version=2.20
|
||
|
revision=1
|
||
|
create_wrksrc=yes
|
||
|
build_wrksrc="${pkgname}-${version}"
|
||
|
build_style=gnu-configure
|
||
|
configure_args="--without-passfile --without-tcl --disable-shared
|
||
|
--with-ssl-dir=${XBPS_CROSS_BASE}/usr
|
||
|
--with-system-pinerc=/etc/${pkgname}.d/pine.conf
|
||
|
--with-system-fixed-pinerc=/etc/${pkgname}.d/pine.conf.fixed"
|
||
|
hostmakedepends="hunspell"
|
||
|
makedepends="pam-devel ncurses-devel gettext-devel libldap-devel mit-krb5-devel"
|
||
|
short_desc="Apache-licensed PINE mail user agent (with Chappa patches)"
|
||
|
maintainer="Christian Neukirchen <chneukirchen@gmail.com>"
|
||
|
license="Apache-2.0"
|
||
|
homepage="http://patches.freeiz.com/alpine/"
|
||
|
distfiles="http://patches.freeiz.com/${pkgname}/patches/${pkgname}-${version}/all.patch.gz
|
||
|
http://patches.freeiz.com/${pkgname}/release/src/${pkgname}-${version}.tar.xz"
|
||
|
checksum="1dbf8ae947372502fdf41aba0c395c838007682d302230c1c43c66423f83a0ee
|
||
|
ed639b6e5bb97e6b0645c85262ca6a784316195d461ce8d8411999bf80449227"
|
||
|
|
||
|
post_extract() {
|
||
|
patch -Np0 <all.patch
|
||
|
sed -i '/run test program/s/^/: /' ${build_wrksrc}/configure
|
||
|
}
|
||
|
|
||
|
do_build() {
|
||
|
make -C pith help_c_gen help_h_gen \
|
||
|
CC="$BUILD_CC" CFLAGS="$BUILD_CFLAGS" CPPFLAGS=
|
||
|
make ${makejobs} all CC="$CC"
|
||
|
}
|