void-packages/srcpkgs/glib/glib-devel.template

27 lines
749 B
Plaintext

# 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."
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
}