libglade: update to 2.6.4, new deps style, converted to subpkgs.

--HG--
extra : convert_revision : 1e96514960b17613626ce6fabf5d7945e9545303
This commit is contained in:
Juan RP 2009-04-20 04:02:42 +02:00
parent b763f36c40
commit 21d3fc2719
4 changed files with 38 additions and 10 deletions

1
templates/libglade-devel Symbolic link
View File

@ -0,0 +1 @@
libglade

View File

@ -0,0 +1,2 @@
abi_depends=2.6.4
api_depends=${abi_depends}

View File

@ -0,0 +1,21 @@
# Template file for 'libglade-devel'.
#
short_desc="${sourcepkg} (development files)"
long_desc="${long_desc}
This package contains files for development, headers, static libs, etc."
Add_dependency run libglade
Add_dependency run python
do_install()
{
mkdir -p ${DESTDIR}/usr/lib
mkdir -p ${DESTDIR}/usr/share
mv ${SRCPKGDESTDIR}/usr/include ${DESTDIR}/usr
mv ${SRCPKGDESTDIR}/usr/bin ${DESTDIR}/usr
mv ${SRCPKGDESTDIR}/usr/lib/lib*.*a ${DESTDIR}/usr/lib
mv ${SRCPKGDESTDIR}/usr/lib/lib*.so ${DESTDIR}/usr/lib
mv ${SRCPKGDESTDIR}/usr/lib/pkgconfig ${DESTDIR}/usr/lib
mv ${SRCPKGDESTDIR}/usr/share/gtk-doc ${DESTDIR}/usr/share
}

View File

@ -1,15 +1,13 @@
# Template build file for 'libglade'.
pkgname=libglade
version=2.6.3
distfiles="
http://ftp.gnome.org/pub/GNOME/sources/libglade/2.6/$pkgname-$version.tar.bz2"
sourcepkg=$pkgname
version=2.6.4
distfiles="${GNOME_SITE}/$pkgname/2.6/$pkgname-$version.tar.bz2"
build_style=gnu_configure
configure_args="--without-xml-catalog"
make_cmd="$XBPS_MASTERDIR/bin/gmake"
pkgconfig_override="libglade-2.0.pc"
short_desc="Runtime interpreter for GLADE GUI files"
maintainer="Juan RP <xtraeme@gmail.com>"
checksum=73b00932c5a5ea1dfa25b2677783f5e52202ce8e
checksum=64361e7647839d36ed8336d992fd210d3e8139882269bed47dc4674980165dec
long_desc="
Libglade is a library that performs a similar job to the C source
output routines in the GLADE user interface builder. Whereas GLADE's
@ -21,8 +19,14 @@ long_desc="
with support for keyboard accelerators and automatic signal
connection."
# Register DTDs with xmlcatmgr.
xml_entries="system http://glade.gnome.org/glade-2.0.dtd
$PKGFS_DESTDIR/$pkgname-$version/share/xml/libglade/glade-2.0.dtd"
subpackages="devel"
Add_dependency build pkg-config
Add_dependency build python
Add_dependency full glibc
Add_dependency full xmlcatmgr
Add_dependency full gtk+
postinstall_helpers="xml-catalogs.sh"
# Register DTDs with xmlcatmgr.
triggers="xml-catalog"
xml_entries="system http://glade.gnome.org/glade-2.0.dtd
/usr/share/xml/libglade/glade-2.0.dtd"