2009-04-19 15:35:22 +02:00
|
|
|
# Template file for 'poppler-glib'.
|
|
|
|
#
|
|
|
|
short_desc="${sourcepkg} GLib bindings (development files)"
|
|
|
|
long_desc="${long_desc}
|
|
|
|
|
2009-04-19 17:04:45 +02:00
|
|
|
This package contains development files for GTK+/Glib bindings."
|
2009-04-19 15:35:22 +02:00
|
|
|
|
2010-01-11 16:09:31 +01:00
|
|
|
Add_dependency run pango-devel
|
|
|
|
Add_dependency run freetype-devel
|
|
|
|
Add_dependency run fontconfig-devel
|
|
|
|
Add_dependency run zlib-devel
|
|
|
|
Add_dependency run libstdc++-devel
|
|
|
|
Add_dependency run glibc-devel
|
2009-12-23 23:48:32 +01:00
|
|
|
Add_dependency run glib-devel
|
2010-01-11 16:09:31 +01:00
|
|
|
Add_dependency run cairo-devel
|
|
|
|
Add_dependency run gtk+-devel
|
|
|
|
Add_dependency run poppler-devel
|
2009-04-19 15:35:22 +02:00
|
|
|
Add_dependency run poppler-glib
|
|
|
|
|
|
|
|
do_install()
|
|
|
|
{
|
2010-03-31 14:59:01 +02:00
|
|
|
mkdir -p ${DESTDIR}/usr/lib/pkgconfig \
|
|
|
|
${DESTDIR}/usr/include/poppler
|
|
|
|
mv ${SRCPKGDESTDIR}/usr/include/poppler/glib \
|
|
|
|
${DESTDIR}/usr/include/poppler
|
2009-04-19 15:35:22 +02:00
|
|
|
mv ${SRCPKGDESTDIR}/usr/lib/libpoppler-glib.*a ${DESTDIR}/usr/lib
|
|
|
|
for f in poppler-cairo poppler-glib; do
|
|
|
|
mv ${SRCPKGDESTDIR}/usr/lib/pkgconfig/${f}.pc \
|
|
|
|
${DESTDIR}/usr/lib/pkgconfig
|
|
|
|
done
|
|
|
|
}
|