gnome-menus: gobject-introspection support.

--HG--
extra : convert_revision : 9ad286f1a4d6e440f824c1d4dfec7d5f36578ee7
This commit is contained in:
Juan RP 2010-04-23 13:17:06 +02:00
parent 311927e4b1
commit dbf01cb5a7
2 changed files with 16 additions and 4 deletions

View file

@ -5,10 +5,21 @@ long_desc="${long_desc}
This package contains files for development, headers, static libs, etc."
revision=1
Add_dependency run pkg-config
Add_dependency run intltool
Add_dependency run gobject-introspection
Add_dependency run glib-devel
Add_dependency run python-devel
Add_dependency run pygtk-devel
Add_dependency run gnome-menus
do_install()
{
mkdir -p ${DESTDIR}/usr/lib
mkdir -p ${DESTDIR}/usr/{lib,share}
mv ${SRCPKGDESTDIR}/usr/include ${DESTDIR}/usr
mv ${SRCPKGDESTDIR}/usr/lib/lib*.{a,so} ${DESTDIR}/usr/lib
mv ${SRCPKGDESTDIR}/usr/lib/lib*.a ${DESTDIR}/usr/lib
mv ${SRCPKGDESTDIR}/usr/lib/pkgconfig ${DESTDIR}/usr/lib
mv ${SRCPKGDESTDIR}/usr/share/gir* ${DESTDIR}/usr/share
}

View file

@ -1,6 +1,7 @@
# Template file for 'gnome-menus'
pkgname=gnome-menus
version=2.30.0
revision=1
distfiles="${GNOME_SITE}/$pkgname/2.30/$pkgname-$version.tar.bz2"
build_style=gnu_configure
configure_args="--localstatedir=/var"
@ -11,7 +12,7 @@ long_desc="
This package provides an implementation of the Desktop Menu Specification
for the GNOME Desktop."
subpackages="$pkgname-devel"
subpackages="gir-$pkgname $pkgname-devel"
Add_dependency run glibc
Add_dependency run glib
@ -19,7 +20,7 @@ Add_dependency run python
Add_dependency run pygtk
Add_dependency build pkg-config
Add_dependency build intltool
Add_dependency build gobject-introspection-devel
Add_dependency build gobject-introspection
Add_dependency build glib-devel
Add_dependency build python-devel
Add_dependency build pygtk-devel