librsvg: move rsvg to -devel subpkgs, bumprev.

--HG--
extra : convert_revision : 28331dda602a7cdbc22af083eacef0cfddf1b70e
This commit is contained in:
Juan RP 2009-10-17 03:21:30 +02:00
parent 6526026f0d
commit 09ed9437e3
2 changed files with 6 additions and 4 deletions

View file

@ -6,6 +6,9 @@ long_desc="${long_desc}
This package contains files for development, headers, static libs, etc."
Add_dependency run librsvg
Add_dependency run python
revision=1
do_install()
{
@ -14,12 +17,14 @@ do_install()
for dir in engines loaders; do
mkdir -p ${DESTDIR}/usr/lib/gtk-2.0/${gtk_abiver}/${dir}
done
mkdir -p ${DESTDIR}/usr/share
mkdir -p ${DESTDIR}/usr/share ${DESTDIR}/usr/bin \
${DESTDIR}/usr/share/man
mv ${SRCPKGDESTDIR}/usr/include ${DESTDIR}/usr
mv ${SRCPKGDESTDIR}/usr/lib/lib*.*a ${DESTDIR}/usr/lib
mv ${SRCPKGDESTDIR}/usr/lib/lib*.so ${DESTDIR}/usr/lib
mv ${SRCPKGDESTDIR}/usr/lib/pkgconfig ${DESTDIR}/usr/lib
mv ${SRCPKGDESTDIR}/usr/share/gtk-doc ${DESTDIR}/usr/share
mv ${SRCPKGDESTDIR}/usr/share/man/man1 ${DESTDIR}/usr/share/man
for dir in engines loaders; do
mv ${SRCPKGDESTDIR}/usr/lib/gtk-2.0/${gtk_abiver}/${dir}/*.*a \
${DESTDIR}//usr/lib/gtk-2.0/${gtk_abiver}/${dir}

View file

@ -28,8 +28,5 @@ Add_dependency full libgsf
post_install()
{
# Remove obsolete rsvg python script that is a wrapper that
# calls rsvg-convert internally!
rm -f ${DESTDIR}/usr/bin/rsvg
rm -rf ${DESTDIR}/usr/lib/mozilla
}