gtk+-devel: fix install.

This commit is contained in:
Juan RP 2010-12-17 16:25:41 +01:00
parent fe3e2c114f
commit 1cdfee0b5c

View file

@ -5,6 +5,13 @@ long_desc="${long_desc}
This package contains files for development, headers, static libs, etc." This package contains files for development, headers, static libs, etc."
revision=1
Add_dependency run glibc
Add_dependency run glib
Add_dependency run pango
Add_dependency run cairo
Add_dependency run gdk-pixbuf
Add_dependency run pkg-config Add_dependency run pkg-config
Add_dependency run libXext-devel Add_dependency run libXext-devel
Add_dependency run libXrender-devel Add_dependency run libXrender-devel
@ -40,7 +47,7 @@ do_install()
mkdir -p ${DESTDIR}/usr/lib/gtk-2.0/modules mkdir -p ${DESTDIR}/usr/lib/gtk-2.0/modules
mv ${SRCPKGDESTDIR}/usr/include ${DESTDIR}/usr mv ${SRCPKGDESTDIR}/usr/include ${DESTDIR}/usr
for bin in gtk-demo gtk-runer-convert; do for bin in gtk-demo; do
mv ${SRCPKGDESTDIR}/usr/bin/${bin} ${DESTDIR}/usr/bin mv ${SRCPKGDESTDIR}/usr/bin/${bin} ${DESTDIR}/usr/bin
[ ! -f ${SRCPKGDESTDIR}/usr/share/man/man1/${bin}.1 ] && \ [ ! -f ${SRCPKGDESTDIR}/usr/share/man/man1/${bin}.1 ] && \
continue continue