2009-02-25 17:55:24 +01:00
|
|
|
# Template file for 'glib-devel'.
|
|
|
|
#
|
2013-02-15 10:07:07 +01:00
|
|
|
depends="python perl libglib-devel-${version}_${revision}"
|
2013-02-01 14:39:13 +01:00
|
|
|
short_desc="${short_desc} -- development files"
|
2013-03-28 06:22:06 +01:00
|
|
|
pycompile_dirs="/usr/share/glib-2.0"
|
2011-07-02 11:06:44 +02:00
|
|
|
|
2012-03-20 09:52:05 +01:00
|
|
|
do_install() {
|
2011-09-28 13:38:34 +02:00
|
|
|
vmkdir usr/bin
|
|
|
|
vmkdir usr/share/man/man1
|
|
|
|
|
2010-04-14 14:05:47 +02:00
|
|
|
for f in $(find ${SRCPKGDESTDIR}/usr/bin -type f); do
|
|
|
|
[ "$(basename ${f})" = "gio-querymodules" ] && continue
|
2010-10-23 22:35:48 +02:00
|
|
|
[ "$(basename ${f})" = "gdbus" ] && continue
|
|
|
|
[ "$(basename ${f})" = "gsettings" ] && continue
|
|
|
|
[ "$(basename ${f})" = "glib-compile-schemas" ] && continue
|
2013-03-28 06:22:06 +01:00
|
|
|
[ "$(basename ${f})" = "gresource" ] && continue
|
|
|
|
[ "$(basename ${f})" = "gobject-query" ] && continue
|
2010-04-14 14:05:47 +02:00
|
|
|
mv ${f} ${DESTDIR}/usr/bin
|
|
|
|
done
|
2010-10-23 22:35:48 +02:00
|
|
|
for f in gtk-doc aclocal glib-2.0 gdb; do
|
2011-09-28 13:38:34 +02:00
|
|
|
vmove usr/share/${f} usr/share
|
2009-09-24 22:06:47 +02:00
|
|
|
done
|
2010-10-23 22:35:48 +02:00
|
|
|
for f in $(find ${SRCPKGDESTDIR}/usr/share/man/man1 -type f); do
|
|
|
|
[ "$(basename ${f})" = "gio-querymodules.1" ] && continue
|
|
|
|
[ "$(basename ${f})" = "gdbus.1" ] && continue
|
|
|
|
[ "$(basename ${f})" = "gsettings.1" ] && continue
|
|
|
|
[ "$(basename ${f})" = "glib-compile-schemas.1" ] && continue
|
2013-03-28 06:22:06 +01:00
|
|
|
[ "$(basename ${f})" = "gresource.1" ] && continue
|
|
|
|
[ "$(basename ${f})" = "gobject-query.1" ] && continue
|
2010-10-23 22:35:48 +02:00
|
|
|
mv ${f} ${DESTDIR}/usr/share/man/man1
|
|
|
|
done
|
2009-02-25 17:55:24 +01:00
|
|
|
}
|