2009-02-25 17:55:24 +01:00
|
|
|
# Template file for 'glib-devel'.
|
|
|
|
#
|
|
|
|
short_desc="${short_desc} (development files)"
|
|
|
|
long_desc="${long_desc}
|
|
|
|
|
|
|
|
This package contains files for development, headers, static libs, etc."
|
|
|
|
|
2010-12-17 15:23:41 +01:00
|
|
|
revision=1
|
|
|
|
|
|
|
|
Add_dependency run glibc
|
2010-03-29 10:31:00 +02:00
|
|
|
Add_dependency run zlib-devel
|
2009-12-24 16:04:45 +01:00
|
|
|
Add_dependency run pcre-devel
|
2009-02-25 17:55:24 +01:00
|
|
|
Add_dependency run glib
|
|
|
|
|
|
|
|
do_install()
|
|
|
|
{
|
2010-10-23 22:35:48 +02:00
|
|
|
install -d ${DESTDIR}/usr/{lib,bin,share} ${DESTDIR}/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
|
2010-04-14 14:05:47 +02:00
|
|
|
mv ${f} ${DESTDIR}/usr/bin
|
|
|
|
done
|
2009-03-11 06:31:56 +01:00
|
|
|
mv ${SRCPKGDESTDIR}/usr/include ${DESTDIR}/usr
|
|
|
|
mv ${SRCPKGDESTDIR}/usr/lib/glib-2.0 ${DESTDIR}/usr/lib
|
|
|
|
mv ${SRCPKGDESTDIR}/usr/lib/pkgconfig ${DESTDIR}/usr/lib
|
2010-10-23 22:35:48 +02:00
|
|
|
for f in gtk-doc aclocal glib-2.0 gdb; do
|
2009-09-24 22:06:47 +02:00
|
|
|
mv ${SRCPKGDESTDIR}/usr/share/${f} ${DESTDIR}/usr/share
|
|
|
|
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
|
|
|
|
mv ${f} ${DESTDIR}/usr/share/man/man1
|
|
|
|
done
|
2009-02-25 17:55:24 +01:00
|
|
|
}
|