void-packages/srcpkgs/gcr/template

50 lines
1.4 KiB
Text
Raw Normal View History

2012-03-21 09:57:10 +00:00
# Template file for 'gcr'
pkgname=gcr
2013-03-28 11:44:12 +00:00
version=3.8.0
2013-04-02 17:26:49 +00:00
revision=2
2012-03-21 09:57:10 +00:00
build_style=gnu-configure
configure_args="--disable-debug --disable-update-mime
2013-04-02 17:26:49 +00:00
--disable-update-icon-cache --disable-schemas-compile
--enable-introspection"
2012-03-21 09:57:10 +00:00
short_desc="GNOME crypto package"
maintainer="Juan RP <xtraeme@gmail.com>"
license="GPL-2, LGPL-2.1"
2012-09-25 13:48:13 +00:00
homepage="http://www.gnome.org"
2013-03-28 11:44:12 +00:00
distfiles="${GNOME_SITE}/gcr/3.8/gcr-${version}.tar.xz"
checksum=3d9ff72a7d5f0c26e42f7f4195fa6f82d384e255a07cfcf00f898b18334b8650
2012-03-21 09:57:10 +00:00
long_desc="
GCR is a library for displaying certificates, and crypto UI, accessing
key stores. It also provides the viewer for crypto files on the GNOME
desktop.
GCK is a library for accessing PKCS#11 modules like smart cards, in a
(G)object oriented way."
2013-03-28 11:44:12 +00:00
hostmakedepends="which pkg-config intltool gnome-doc-utils
gobject-introspection libtasn1-tools gobject-introspection gnupg"
makedepends="gtk+3-devel>=3.8.0 p11-kit-devel libgcrypt-devel perl-XML-Parser"
post_install() {
vinstall ${FILESDIR}/10-gcr-memlock.conf 644 etc/security/limits.d
}
gcr-devel_package() {
depends="glib-devel p11-kit-devel gtk+3-devel gcr-${version}_${revision}"
short_desc="${sourcepkg} -- development files"
replaces="gnome-keyring-devel<3.3.92"
pkg_install() {
vmove usr/include
vmove usr/lib/pkgconfig
vmove usr/share/gtk-doc
vmove usr/share/gir-1.0
}
}
gcr_package() {
replaces="gnome-keyring<3.3.92"
depends="hicolor-icon-theme desktop-file-utils"
pkg_install() {
vmove usr
}
}