void-packages/srcpkgs/glib/glib-devel.template
Juan RP 0ee1106b4a glib: move so symlink into main pkg.
--HG--
extra : convert_revision : 92dba435820b5718206a1cbc2df9afe293d0f6de
2010-04-22 14:22:44 +02:00

28 lines
761 B
Text

# 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."
revision=2
Add_dependency run zlib-devel
Add_dependency run pcre-devel
Add_dependency run glib
do_install()
{
mkdir -p ${DESTDIR}/usr/{lib,bin,share}
for f in $(find ${SRCPKGDESTDIR}/usr/bin -type f); do
[ "$(basename ${f})" = "gio-querymodules" ] && continue
mv ${f} ${DESTDIR}/usr/bin
done
mv ${SRCPKGDESTDIR}/usr/include ${DESTDIR}/usr
mv ${SRCPKGDESTDIR}/usr/lib/glib-2.0 ${DESTDIR}/usr/lib
mv ${SRCPKGDESTDIR}/usr/lib/pkgconfig ${DESTDIR}/usr/lib
for f in man gtk-doc aclocal glib-2.0 gdb; do
mv ${SRCPKGDESTDIR}/usr/share/${f} ${DESTDIR}/usr/share
done
}