2009-02-25 16:55:24 +00:00
|
|
|
# Template file for 'glib-devel'.
|
|
|
|
#
|
2011-11-12 05:01:02 +00:00
|
|
|
revision=1
|
2009-02-25 16:55:24 +00:00
|
|
|
short_desc="${short_desc} (development files)"
|
|
|
|
long_desc="${long_desc}
|
|
|
|
|
|
|
|
This package contains files for development, headers, static libs, etc."
|
|
|
|
|
2011-10-05 14:42:03 +00:00
|
|
|
pycompile_dirs="usr/lib/gdbus-2.0/codegen"
|
2011-07-02 09:06:44 +00:00
|
|
|
|
2010-03-29 08:31:00 +00:00
|
|
|
Add_dependency run zlib-devel
|
2009-12-24 15:04:45 +00:00
|
|
|
Add_dependency run pcre-devel
|
2011-09-28 11:38:34 +00:00
|
|
|
Add_dependency run libffi-devel
|
2011-07-03 06:27:10 +00:00
|
|
|
Add_dependency run coreutils # required by glib-mkenums /usr/bin/env
|
2011-07-02 09:06:44 +00:00
|
|
|
Add_dependency run perl ">=0" # required by glib-mkenums
|
2009-02-25 16:55:24 +00:00
|
|
|
|
|
|
|
do_install()
|
|
|
|
{
|
2011-09-28 11:38:34 +00:00
|
|
|
vmkdir usr/bin
|
|
|
|
vmkdir usr/share/man/man1
|
|
|
|
|
2010-04-14 12:05:47 +00:00
|
|
|
for f in $(find ${SRCPKGDESTDIR}/usr/bin -type f); do
|
|
|
|
[ "$(basename ${f})" = "gio-querymodules" ] && continue
|
2010-10-23 20:35:48 +00:00
|
|
|
[ "$(basename ${f})" = "gdbus" ] && continue
|
|
|
|
[ "$(basename ${f})" = "gsettings" ] && continue
|
|
|
|
[ "$(basename ${f})" = "glib-compile-schemas" ] && continue
|
2010-04-14 12:05:47 +00:00
|
|
|
mv ${f} ${DESTDIR}/usr/bin
|
|
|
|
done
|
2011-09-28 11:38:34 +00:00
|
|
|
vmove usr/include usr
|
|
|
|
vmove usr/lib/glib-2.0 usr/lib
|
|
|
|
vmove usr/lib/pkgconfig usr/lib
|
|
|
|
vmove usr/lib/gdbus-2.0 usr/lib
|
|
|
|
|
2010-10-23 20:35:48 +00:00
|
|
|
for f in gtk-doc aclocal glib-2.0 gdb; do
|
2011-09-28 11:38:34 +00:00
|
|
|
vmove usr/share/${f} usr/share
|
2009-09-24 20:06:47 +00:00
|
|
|
done
|
2010-10-23 20:35:48 +00: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
|
|
|
|
mv ${f} ${DESTDIR}/usr/share/man/man1
|
|
|
|
done
|
2009-02-25 16:55:24 +00:00
|
|
|
}
|