2009-04-19 13:35:22 +00:00
|
|
|
# Template file for 'poppler-glib'.
|
|
|
|
#
|
|
|
|
short_desc="${sourcepkg} GLib bindings (development files)"
|
|
|
|
long_desc="${long_desc}
|
|
|
|
|
2009-04-19 15:04:45 +00:00
|
|
|
This package contains development files for GTK+/Glib bindings."
|
2009-04-19 13:35:22 +00:00
|
|
|
|
2010-04-25 15:22:52 +00:00
|
|
|
revision=1
|
|
|
|
|
2010-01-11 15:09:31 +00: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 22:48:32 +00:00
|
|
|
Add_dependency run glib-devel
|
2010-01-11 15:09:31 +00:00
|
|
|
Add_dependency run cairo-devel
|
|
|
|
Add_dependency run gtk+-devel
|
|
|
|
Add_dependency run poppler-devel
|
2009-04-19 13:35:22 +00:00
|
|
|
Add_dependency run poppler-glib
|
|
|
|
|
|
|
|
do_install()
|
|
|
|
{
|
2010-03-31 12:59:01 +00:00
|
|
|
mkdir -p ${DESTDIR}/usr/lib/pkgconfig \
|
|
|
|
${DESTDIR}/usr/include/poppler
|
|
|
|
mv ${SRCPKGDESTDIR}/usr/include/poppler/glib \
|
|
|
|
${DESTDIR}/usr/include/poppler
|
2009-04-19 13:35:22 +00: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
|
|
|
|
}
|