vp-build/templates/xorg-server/devel.template
Juan RP ce52d33dcf xorg-server: update to 1.6.0, converted to subpkgs, new deps style.
--HG--
extra : convert_revision : 35352c4fc39a484853a76c727ad3e7ef8c30b45f
2009-03-25 05:56:03 +01:00

26 lines
755 B
Plaintext

# Template file for 'xorg-server-devel'.
#
short_desc="${sourcepkg} development files"
long_desc="${long_desc}
This package contains files for development, headers, static libs, etc."
Add_dependency run xorg-server
do_install()
{
mkdir -p ${DESTDIR}/usr/lib
mkdir -p ${DESTDIR}/usr/lib/xorg/modules/extensions
mkdir -p ${DESTDIR}/usr/lib/xorg/modules/linux
mkdir -p ${DESTDIR}/usr/lib/xorg/modules/multimedia
mv ${SRCPKGDESTDIR}/usr/include ${DESTDIR}/usr
mv ${SRCPKGDESTDIR}/usr/lib/pkgconfig ${DESTDIR}/usr/lib
for dir in modules modules/extensions modules/linux \
modules/multimedia; do
mv ${SRCPKGDESTDIR}/usr/lib/xorg/${dir}/*.la \
${DESTDIR}/usr/lib/xorg/${dir}
done
mv ${SRCPKGDESTDIR}/usr/share/aclocal ${DESTDIR}/usr/share
}