void-packages/srcpkgs/glib/glib-devel.template
Juan RP 5a14dbbc42 glib-devel: move gio-querymodules into glib, bumprev.
--HG--
extra : convert_revision : a8302b15825994a7cda5403c7c06c8e2e7321776
2010-04-14 14:05:47 +02:00

29 lines
814 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=1
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/*.so ${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
}