# Template file for 'alpine' pkgname=alpine version=2.21.99 revision=3 _githash=04737118aa1d9ad3db63fb1064267187ae871856 _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 " license="Apache-2.0" homepage="http://repo.or.cz/alpine.git" distfiles="http://repo.or.cz/alpine.git/snapshot/${_githash}.tar.gz" checksum=d700197d67ade4e82ccf7e0770604654198bc3a667e6bb831fe4f10bbcdf6288 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" }