2009-04-21 21:59:17 +00:00
|
|
|
# Template file for 'librsvg-devel'.
|
|
|
|
#
|
|
|
|
short_desc="${sourcepkg} development files"
|
|
|
|
long_desc="${long_desc}
|
|
|
|
|
|
|
|
This package contains files for development, headers, static libs, etc."
|
|
|
|
|
|
|
|
Add_dependency run librsvg
|
2009-10-17 01:21:30 +00:00
|
|
|
Add_dependency run python
|
|
|
|
|
|
|
|
revision=1
|
2009-04-21 21:59:17 +00:00
|
|
|
|
|
|
|
do_install()
|
|
|
|
{
|
|
|
|
local gtk_abiver="2.10.0"
|
|
|
|
|
|
|
|
for dir in engines loaders; do
|
|
|
|
mkdir -p ${DESTDIR}/usr/lib/gtk-2.0/${gtk_abiver}/${dir}
|
|
|
|
done
|
2009-10-17 01:21:30 +00:00
|
|
|
mkdir -p ${DESTDIR}/usr/share ${DESTDIR}/usr/bin \
|
|
|
|
${DESTDIR}/usr/share/man
|
2009-04-21 21:59:17 +00:00
|
|
|
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
|
2009-10-17 01:21:30 +00:00
|
|
|
mv ${SRCPKGDESTDIR}/usr/share/man/man1 ${DESTDIR}/usr/share/man
|
2009-04-21 21:59:17 +00:00
|
|
|
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}
|
|
|
|
done
|
|
|
|
}
|