vp-build/srcpkgs/glib/glib-devel.template
Juan RP f8ec6b1187 Clean up required rundeps for some pkgs.
--HG--
extra : convert_revision : e95cfb60ec6e462b01ca8ec4dd9f04dd0419ecf8
2009-12-24 16:04:45 +01:00

27 lines
699 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."
revision=1
Add_dependency run pcre-devel
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/*.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
}