diff --git a/templates/libXau-devel b/templates/libXau-devel new file mode 120000 index 0000000000..a4c4d19cd7 --- /dev/null +++ b/templates/libXau-devel @@ -0,0 +1 @@ +libXau \ No newline at end of file diff --git a/templates/libXau/devel.template b/templates/libXau/devel.template new file mode 100644 index 0000000000..0504b5e722 --- /dev/null +++ b/templates/libXau/devel.template @@ -0,0 +1,20 @@ +# Template file for 'libXau-devel'. +# +short_desc="${short_desc} (development files)" +long_desc="${long_desc} + + This package contains files for development, headers, static libs, etc." + +Add_dependency run libXau + +do_install() +{ + mkdir -p ${DESTDIR}/usr/lib + mkdir -p ${DESTDIR}/usr/share/man + 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 + mv ${SRCPKGDESTDIR}/usr/share/man/man3 ${DESTDIR}/usr/share/man + rm -rf ${SRCPKGDESTDIR}/usr/share +} diff --git a/templates/libXau/template b/templates/libXau/template index 4000a7071a..a533b89abd 100644 --- a/templates/libXau/template +++ b/templates/libXau/template @@ -1,5 +1,6 @@ # Template build file for 'libXau'. pkgname=libXau +sourcepkg=$pkgname version=1.0.4 distfiles="${XORG_SITE}/lib/$pkgname-$version.tar.bz2" build_style=gnu_configure @@ -10,6 +11,7 @@ long_desc=" LibXau is an authorization protocol for X from the modular X.org X11 project." +subpackages="devel" Add_dependency full glibc Add_dependency build pkg-config Add_dependency build xproto