# Tanım: DBusMenu protokolünün Glib uygulaması sağlayan kitaplık
# URL: https://launchpad.net/dbusmenu
# Paketçi: milisarge
# Gerekler: python gobject-introspection gtk2 gtk3 glib vala gnome-doc-utils atk libepoxy json-glib gnome-common pkg-config valgrind
# Grup: kütüphane

isim=libdbusmenu-glib
_isim=libdbusmenu
devir=1
surum=16.04.0

kaynak=(https://launchpad.net/${_isim}/${surum%.*}.tar.gz )

derle() {
  export HAVE_VALGRIND_TRUE='#'
  export HAVE_VALGRIND_FALSE=''

  cd $_isim-$surum

  ./configure --prefix=/usr --sysconfdir=/etc --localstatedir=/var --libexecdir=/usr/lib/$_isim \
               --disable-static --disable-scrollkeeper --disable-tests

  make
  
  make -C libdbusmenu-glib DESTDIR=$PKG install
  make -C tools DESTDIR=$PKG install
  make -C docs DESTDIR=$PKG install
}
