2009-02-25 16:55:24 +00:00
|
|
|
# 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."
|
|
|
|
|
2010-04-14 12:05:47 +00:00
|
|
|
revision=1
|
|
|
|
|
2010-03-29 08:31:00 +00:00
|
|
|
Add_dependency run zlib-devel
|
2009-12-24 15:04:45 +00:00
|
|
|
Add_dependency run pcre-devel
|
2009-02-25 16:55:24 +00:00
|
|
|
Add_dependency run glib
|
|
|
|
|
|
|
|
do_install()
|
|
|
|
{
|
2010-04-14 12:05:47 +00:00
|
|
|
mkdir -p ${DESTDIR}/usr/{lib,bin,share}
|
2009-02-25 16:55:24 +00:00
|
|
|
|
2010-04-14 12:05:47 +00:00
|
|
|
for f in $(find ${SRCPKGDESTDIR}/usr/bin -type f); do
|
|
|
|
[ "$(basename ${f})" = "gio-querymodules" ] && continue
|
|
|
|
mv ${f} ${DESTDIR}/usr/bin
|
|
|
|
done
|
2009-03-11 05:31:56 +00:00
|
|
|
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
|
2009-09-24 20:06:47 +00:00
|
|
|
for f in man gtk-doc aclocal glib-2.0 gdb; do
|
|
|
|
mv ${SRCPKGDESTDIR}/usr/share/${f} ${DESTDIR}/usr/share
|
|
|
|
done
|
2009-02-25 16:55:24 +00:00
|
|
|
}
|