void-packages/srcpkgs/libunique/template

41 lines
1.1 KiB
Plaintext
Raw Normal View History

# Template file for 'libunique'.
pkgname=libunique
2011-06-20 16:49:42 +02:00
version=3.0.2
revision=6
build_style=gnu-configure
configure_args="--enable-bacon=yes --enable-dbus=yes"
2014-02-21 11:01:22 +01:00
hostmakedepends="pkg-config glib-devel"
makedepends="dbus-glib-devel gtk+3-devel"
short_desc="Library for writing single instance applications"
maintainer="Juan RP <xtraeme@gmail.com>"
2011-06-20 16:49:42 +02:00
homepage="http://live.gnome.org/LibUnique"
license="LGPL-2.1"
distfiles="${GNOME_SITE}/$pkgname/3.0/$pkgname-$version.tar.bz2"
2011-06-20 16:49:42 +02:00
checksum=50269a87c7aabf1e25f01b3bbb280133138ffd7b6776289894c614a4b6ca968d
# Package build options
build_options="gir"
# Disable gir for cross builds.
if [ -z "$CROSS_BUILD" ]; then
build_options_default="gir"
fi
if [ "$build_option_gir" ]; then
configure_args+=" --enable-introspection"
makedepends+=" gobject-introspection"
else
configure_args+=" --disable-introspection"
fi
libunique-devel_package() {
depends="dbus-glib-devel ${sourcepkg}>=${version}_${revision}"
short_desc+=" - development files"
pkg_install() {
vmove usr/include
vmove usr/lib/pkgconfig
vmove "usr/lib/*.so"
vmove usr/share
}
}