void-packages/srcpkgs/gmime/template

38 lines
1.1 KiB
Text
Raw Normal View History

2010-11-20 01:54:02 +00:00
# Template file for 'gmime'
pkgname=gmime
2013-10-20 09:18:46 +00:00
version=2.6.19
2014-01-25 10:32:35 +00:00
revision=2
build_style=gnu-configure
2014-01-25 10:32:35 +00:00
configure_args="--disable-static --disable-mono --enable-smime --with-gpgme-prefix=${XBPS_CROSS_BASE}/usr"
2013-09-17 08:50:07 +00:00
hostmakedepends="pkg-config intltool"
makedepends="glib-devel gpgme-devel"
2010-11-20 01:54:02 +00:00
short_desc="GNOME Core mime parsing library"
maintainer="Juan RP <xtraeme@gmail.com>"
2011-12-17 23:05:11 +00:00
license="GPL-2"
2012-06-14 13:39:19 +00:00
homepage="http://www.gnome.org/"
2012-12-11 06:30:10 +00:00
distfiles="${GNOME_SITE}/gmime/2.6/gmime-${version}.tar.xz"
2013-10-20 09:18:46 +00:00
checksum=affb402b991519f83fb9c88464a9c07891860df18246c0743689c027d773a14a
2014-01-25 10:32:35 +00:00
case "$XBPS_TARGET_MACHINE" in
# glibc
i686|x86_64|armv?l)
configure_args+=" am_cv_func_iconv=yes am_cv_func_iconv_works=yes"
configure_args+=" am_cv_lib_iconv=no ac_cv_have_iconv_detect_h=yes"
configure_args+=" am_cv_proto_iconv_arg1="
pre_build() {
cp ${FILESDIR}/*.h ${wrksrc}
}
;;
esac
gmime-devel_package() {
2014-01-25 10:32:35 +00:00
depends="libglib-devel zlib-devel gmime>=${version}_${revision}"
2013-07-02 23:49:06 +00:00
short_desc+=" - development files"
pkg_install() {
vmove usr/include
vmove usr/lib/pkgconfig
2013-07-02 23:49:06 +00:00
vmove "usr/lib/*.so"
vmove usr/share/gtk-doc
}
}