glib: move some bins from -devel to main pkg, bumprev.

This commit is contained in:
Juan RP 2010-10-23 22:35:48 +02:00
parent 420895caed
commit bf4ea69ac8
2 changed files with 16 additions and 3 deletions

View file

@ -5,22 +5,34 @@ long_desc="${long_desc}
This package contains files for development, headers, static libs, etc." This package contains files for development, headers, static libs, etc."
revision=1
Add_dependency run zlib-devel Add_dependency run zlib-devel
Add_dependency run pcre-devel Add_dependency run pcre-devel
Add_dependency run glib Add_dependency run glib
do_install() do_install()
{ {
mkdir -p ${DESTDIR}/usr/{lib,bin,share} install -d ${DESTDIR}/usr/{lib,bin,share} ${DESTDIR}/usr/share/man/man1
for f in $(find ${SRCPKGDESTDIR}/usr/bin -type f); do for f in $(find ${SRCPKGDESTDIR}/usr/bin -type f); do
[ "$(basename ${f})" = "gio-querymodules" ] && continue [ "$(basename ${f})" = "gio-querymodules" ] && continue
[ "$(basename ${f})" = "gdbus" ] && continue
[ "$(basename ${f})" = "gsettings" ] && continue
[ "$(basename ${f})" = "glib-compile-schemas" ] && continue
mv ${f} ${DESTDIR}/usr/bin mv ${f} ${DESTDIR}/usr/bin
done done
mv ${SRCPKGDESTDIR}/usr/include ${DESTDIR}/usr mv ${SRCPKGDESTDIR}/usr/include ${DESTDIR}/usr
mv ${SRCPKGDESTDIR}/usr/lib/glib-2.0 ${DESTDIR}/usr/lib mv ${SRCPKGDESTDIR}/usr/lib/glib-2.0 ${DESTDIR}/usr/lib
mv ${SRCPKGDESTDIR}/usr/lib/pkgconfig ${DESTDIR}/usr/lib mv ${SRCPKGDESTDIR}/usr/lib/pkgconfig ${DESTDIR}/usr/lib
for f in man gtk-doc aclocal glib-2.0 gdb; do for f in gtk-doc aclocal glib-2.0 gdb; do
mv ${SRCPKGDESTDIR}/usr/share/${f} ${DESTDIR}/usr/share mv ${SRCPKGDESTDIR}/usr/share/${f} ${DESTDIR}/usr/share
done done
for f in $(find ${SRCPKGDESTDIR}/usr/share/man/man1 -type f); do
[ "$(basename ${f})" = "gio-querymodules.1" ] && continue
[ "$(basename ${f})" = "gdbus.1" ] && continue
[ "$(basename ${f})" = "gsettings.1" ] && continue
[ "$(basename ${f})" = "glib-compile-schemas.1" ] && continue
mv ${f} ${DESTDIR}/usr/share/man/man1
done
} }

View file

@ -1,6 +1,7 @@
# Template build file for 'glib' # Template build file for 'glib'
pkgname=glib pkgname=glib
version=2.26.0 version=2.26.0
revision=1
distfiles="${GNOME_SITE}/glib/2.26/glib-$version.tar.bz2" distfiles="${GNOME_SITE}/glib/2.26/glib-$version.tar.bz2"
configure_args="--disable-fam --with-pcre=system" configure_args="--disable-fam --with-pcre=system"
build_style=gnu_configure build_style=gnu_configure