30 lines
814 B
Plaintext
30 lines
814 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 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/*.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
|
|
}
|