diff --git a/templates/libXrender-devel b/templates/libXrender-devel new file mode 120000 index 0000000000..58473c2cff --- /dev/null +++ b/templates/libXrender-devel @@ -0,0 +1 @@ +libXrender \ No newline at end of file diff --git a/templates/libXrender/depends b/templates/libXrender/depends new file mode 100644 index 0000000000..95fa9c3af5 --- /dev/null +++ b/templates/libXrender/depends @@ -0,0 +1,2 @@ +abi_depends=0.9.4 +api_depends=${abi_depends} diff --git a/templates/libXrender/devel.template b/templates/libXrender/devel.template new file mode 100644 index 0000000000..e15c9ac31a --- /dev/null +++ b/templates/libXrender/devel.template @@ -0,0 +1,17 @@ +# Template file for 'libXrender-devel'. +# +short_desc="${short_desc} (development files)" +long_desc="${long_desc} + + This package contains files for development, headers, static libs, etc." + +Add_dependency run libXrender + +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/libXrender/template b/templates/libXrender/template index dd5d8e58e1..fe1ca65474 100644 --- a/templates/libXrender/template +++ b/templates/libXrender/template @@ -1,4 +1,6 @@ +# Template build file for 'libXrender'. pkgname=libXrender +sourcepkg=$pkgname version=0.9.4 distfiles="${XORG_SITE}/lib/$pkgname-$version.tar.bz2" build_style=gnu_configure @@ -17,6 +19,8 @@ long_desc=" This is the modular X.org X11 project version." -shared_deps="libX11-1.1" -build_depends="pkg-config-0.23 renderproto-0.9 ${shared_deps}" -run_depends="glibc-2.8 ${shared_deps}" +subpackages="devel" +Add_dependency build pkg-config +Add_dependency build renderproto +Add_dependency full glibc +Add_dependency full libX11