35 lines
1.2 KiB
Bash
35 lines
1.2 KiB
Bash
# Template file for 'alpine'
|
|
pkgname=alpine
|
|
version=2.21.9999
|
|
revision=3
|
|
_githash=d3e6f3932f2af9deca8eed09e30a55e9bd524362
|
|
_gitshort="${_githash:0:7}"
|
|
wrksrc="${pkgname}-${_gitshort}"
|
|
build_style=gnu-configure
|
|
configure_args="--without-passfile --without-tcl --disable-shared
|
|
--with-ssl-dir=${XBPS_CROSS_BASE}/usr alpine_SSLPROVIDER=libressl
|
|
--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="Leah Neukirchen <leah@vuxu.org>"
|
|
license="Apache-2.0"
|
|
homepage="http://repo.or.cz/alpine.git"
|
|
distfiles="http://repo.or.cz/alpine.git/snapshot/${_githash}.tar.gz"
|
|
checksum=bc0c0e09e67c8746f6eb01aef8b235db2865fc0238bef1454e22f6e696f79870
|
|
|
|
post_extract() {
|
|
sed -i -e '/run test program/s/^/: /' \
|
|
-e 's/linux-gnu/linux-/g' ${wrksrc}/configure
|
|
}
|
|
|
|
do_build() {
|
|
make -C pith help_c_gen help_h_gen \
|
|
CC="$BUILD_CC" CFLAGS="$BUILD_CFLAGS" CPPFLAGS= LDFLAGS="$BUILD_LDFLAGS"
|
|
make ${makejobs} all CC="$CC"
|
|
}
|
|
|
|
post_install() {
|
|
vlicense NOTICE
|
|
}
|