2010-11-20 02:54:02 +01:00
|
|
|
# Template file for 'gmime'
|
|
|
|
pkgname=gmime
|
2014-03-27 09:15:09 +01:00
|
|
|
version=2.6.20
|
2014-12-19 11:47:00 +01:00
|
|
|
revision=2
|
2011-10-24 14:14:47 +02:00
|
|
|
build_style=gnu-configure
|
2014-01-25 11:32:35 +01:00
|
|
|
configure_args="--disable-static --disable-mono --enable-smime --with-gpgme-prefix=${XBPS_CROSS_BASE}/usr"
|
2013-09-17 10:50:07 +02:00
|
|
|
hostmakedepends="pkg-config intltool"
|
|
|
|
makedepends="glib-devel gpgme-devel"
|
2010-11-20 02:54:02 +01:00
|
|
|
short_desc="GNOME Core mime parsing library"
|
2015-04-10 09:16:30 +02:00
|
|
|
maintainer="Juan RP <xtraeme@voidlinux.eu>"
|
2011-12-18 00:05:11 +01:00
|
|
|
license="GPL-2"
|
2012-06-14 15:39:19 +02:00
|
|
|
homepage="http://www.gnome.org/"
|
2014-03-27 09:15:09 +01:00
|
|
|
distfiles="${GNOME_SITE}/gmime/${version%.*}/gmime-${version}.tar.xz"
|
|
|
|
checksum=e0a170fb264c2ae4cecd852f4e7aaddb8d58e8f3f0b569ce2d2a4704f55bdf65
|
2013-04-12 15:11:12 +02:00
|
|
|
|
2014-01-25 11:32:35 +01: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
|
|
|
|
|
2013-04-12 15:11:12 +02:00
|
|
|
gmime-devel_package() {
|
2014-01-25 11:32:35 +01:00
|
|
|
depends="libglib-devel zlib-devel gmime>=${version}_${revision}"
|
2013-07-03 01:49:06 +02:00
|
|
|
short_desc+=" - development files"
|
2013-04-12 15:11:12 +02:00
|
|
|
pkg_install() {
|
|
|
|
vmove usr/include
|
|
|
|
vmove usr/lib/pkgconfig
|
2013-07-03 01:49:06 +02:00
|
|
|
vmove "usr/lib/*.so"
|
2013-04-12 15:11:12 +02:00
|
|
|
vmove usr/share/gtk-doc
|
|
|
|
}
|
|
|
|
}
|