33 lines
1.3 KiB
Bash
33 lines
1.3 KiB
Bash
# Template file for 'alpine'
|
|
pkgname=alpine
|
|
version=2.21
|
|
revision=2
|
|
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 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://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="590e6774c60c6738e31b0bd440b28c54bff25c5f87be9aa2d8d4671fdf1e3450
|
|
6030b6881b8168546756ab3a5e43628d8d564539b0476578e287775573a77438"
|
|
|
|
post_extract() {
|
|
patch -Np0 <all.patch
|
|
sed -i -e '/run test program/s/^/: /' \
|
|
-e 's/linux-gnu/linux-/g' ${build_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"
|
|
}
|