2009-04-21 23:21:13 +00:00
|
|
|
# Template file for 'libwmf-devel'.
|
|
|
|
#
|
2012-05-23 16:26:56 +00:00
|
|
|
depends="pkg-config freetype-devel jpeg-devel libpng-devel expat-devel glib-devel gtk+-devel gd-devel libX11-devel zlib-devel libwmf"
|
2009-04-21 23:21:13 +00:00
|
|
|
short_desc="${sourcepkg} development files"
|
|
|
|
long_desc="${long_desc}
|
|
|
|
|
|
|
|
This package contains files for development, headers, static libs, etc."
|
|
|
|
|
2010-01-10 01:19:11 +00:00
|
|
|
|
2009-04-21 23:21:13 +00:00
|
|
|
|
|
|
|
do_install()
|
|
|
|
{
|
|
|
|
local gtk_abiver="2.10.0"
|
|
|
|
|
|
|
|
mkdir -p ${DESTDIR}/usr/lib/gtk-2.0/${gtk_abiver}/loaders
|
|
|
|
mkdir -p ${DESTDIR}/usr/bin ${DESTDIR}/usr/share
|
|
|
|
mv ${SRCPKGDESTDIR}/usr/include ${DESTDIR}/usr
|
|
|
|
mv ${SRCPKGDESTDIR}/usr/lib/lib*.*a ${DESTDIR}/usr/lib
|
|
|
|
mv ${SRCPKGDESTDIR}/usr/share/doc ${DESTDIR}/usr/share
|
|
|
|
mv ${SRCPKGDESTDIR}/usr/bin/libwmf-config ${DESTDIR}/usr/bin
|
|
|
|
mv ${SRCPKGDESTDIR}/usr/lib/gtk-2.0/${gtk_abiver}/loaders/*.*a \
|
|
|
|
${DESTDIR}/usr/lib/gtk-2.0/${gtk_abiver}/loaders
|
|
|
|
}
|