void-packages/templates/glib/devel.template
Juan RP 8b5638ba1f glib: update to 2.22.0.
--HG--
extra : convert_revision : babd7adc5de6017d4be1c2fb313a4896c416302e
2009-09-24 22:06:47 +02:00

24 lines
710 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."
Add_dependency run glib
do_install()
{
mkdir -p ${DESTDIR}/usr/lib
mkdir -p ${DESTDIR}/usr/share
mv ${SRCPKGDESTDIR}/usr/bin ${DESTDIR}/usr
mv ${SRCPKGDESTDIR}/usr/include ${DESTDIR}/usr
mv ${SRCPKGDESTDIR}/usr/lib/glib-2.0 ${DESTDIR}/usr/lib
mv ${SRCPKGDESTDIR}/usr/lib/*.*a ${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
}