77e7408655
This reverts commit a9fa06777d
.
43 lines
1.1 KiB
Bash
43 lines
1.1 KiB
Bash
# Template file for 'gom'
|
|
pkgname=gom
|
|
version=0.3.2
|
|
revision=1
|
|
short_desc="GObject Data Mapper"
|
|
maintainer="Juan RP <xtraeme@gmail.com>"
|
|
homepage="http://www.gnome.org"
|
|
license="LGPL-2"
|
|
distfiles="${GNOME_SITE}/$pkgname/${version%.*}/$pkgname-$version.tar.xz"
|
|
checksum=bce8f0f94af6ff7847b853580ba6baebbab8ae531cedb0c78a5c473f39c758fd
|
|
build_style=gnu-configure
|
|
configure_args="--disable-static"
|
|
hostmakedepends="pkg-config intltool"
|
|
makedepends="sqlite-devel gettext-devel glib-devel gdk-pixbuf-devel"
|
|
|
|
# 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
|
|
|
|
|
|
gom-devel_package() {
|
|
depends="glib-devel ${sourcepkg}>=${version}_${revision}"
|
|
short_desc+=" - development files"
|
|
pkg_install() {
|
|
vmove usr/include
|
|
vmove usr/lib/pkgconfig
|
|
vmove usr/share/gtk-doc
|
|
if [ "$build_option_gir" ]; then
|
|
vmove usr/share/gir-1.0
|
|
fi
|
|
}
|
|
}
|