diff --git a/templates/libXdmcp-devel b/templates/libXdmcp-devel new file mode 120000 index 00000000000..2f5bc442196 --- /dev/null +++ b/templates/libXdmcp-devel @@ -0,0 +1 @@ +libXdmcp \ No newline at end of file diff --git a/templates/libXdmcp/devel.template b/templates/libXdmcp/devel.template new file mode 100644 index 00000000000..583fe3e8a1a --- /dev/null +++ b/templates/libXdmcp/devel.template @@ -0,0 +1,17 @@ +# Template file for 'libXdmcp-devel'. +# +short_desc="${short_desc} (development files)" +long_desc="${long_desc} + + This package contains files for development, headers, static libs, etc." + +Add_dependency run libXdmcp + +do_install() +{ + mkdir -p ${DESTDIR}/usr/lib + mv ${SRCPKGDESTDIR}/usr/include ${DESTDIR}/usr + mv ${SRCPKGDESTDIR}/usr/lib/lib*.*a ${DESTDIR}/usr/lib + mv ${SRCPKGDESTDIR}/usr/lib/lib*.so ${DESTDIR}/usr/lib + mv ${SRCPKGDESTDIR}/usr/lib/pkgconfig ${DESTDIR}/usr/lib +} diff --git a/templates/libXdmcp/template b/templates/libXdmcp/template index bcf2a48a7da..82ca37dc80e 100644 --- a/templates/libXdmcp/template +++ b/templates/libXdmcp/template @@ -1,5 +1,6 @@ # Template build file for 'libXdmcp'. pkgname=libXdmcp +sourcepkg=$pkgname version=1.0.2 distfiles="${XORG_SITE}/lib/$pkgname-$version.tar.bz2" build_style=gnu_configure @@ -10,6 +11,7 @@ long_desc=" This is the X Display Manager Control Protocol library. This is from the modular X.org X11 project." +subpackages="devel" Add_dependency full glibc Add_dependency build pkg-config Add_dependency build xproto