0ee1106b4a
--HG-- extra : convert_revision : 92dba435820b5718206a1cbc2df9afe293d0f6de
28 lines
761 B
Text
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
|
|
}
|