From 869f9344f41cacaf68ec4e92b0ec100a8595e1d2 Mon Sep 17 00:00:00 2001 From: Juan RP Date: Thu, 19 Mar 2009 02:20:09 +0100 Subject: [PATCH] libXaw: update to 1.0.5, converted to subpkgs, new deps style. --HG-- extra : convert_revision : b415d1ffd2353eaa536e097c781373f21b8e7615 --- templates/libXaw-devel | 1 + templates/libXaw/depends | 2 ++ templates/libXaw/devel.template | 18 ++++++++++++++++++ templates/libXaw/template | 19 ++++++++++++++----- 4 files changed, 35 insertions(+), 5 deletions(-) create mode 120000 templates/libXaw-devel create mode 100644 templates/libXaw/depends create mode 100644 templates/libXaw/devel.template diff --git a/templates/libXaw-devel b/templates/libXaw-devel new file mode 120000 index 00000000000..72b2de93995 --- /dev/null +++ b/templates/libXaw-devel @@ -0,0 +1 @@ +libXaw \ No newline at end of file diff --git a/templates/libXaw/depends b/templates/libXaw/depends new file mode 100644 index 00000000000..f847cf49272 --- /dev/null +++ b/templates/libXaw/depends @@ -0,0 +1,2 @@ +abi_depends=1.0.5 +api_depends=${abi_depends} diff --git a/templates/libXaw/devel.template b/templates/libXaw/devel.template new file mode 100644 index 00000000000..3134e8e5bd7 --- /dev/null +++ b/templates/libXaw/devel.template @@ -0,0 +1,18 @@ +# Template file for 'libXaw-devel'. +# +short_desc="${short_desc} (development files)" +long_desc="${long_desc} + + This package contains files for development, headers, static libs, etc." + +Add_dependency run libXaw + +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 + mv ${SRCPKGDESTDIR}/usr/share ${DESTDIR}/usr +} diff --git a/templates/libXaw/template b/templates/libXaw/template index 59461a58ac7..e11ae1bb6fb 100644 --- a/templates/libXaw/template +++ b/templates/libXaw/template @@ -1,16 +1,25 @@ +# Template build file for 'libXaw'. pkgname=libXaw -version=1.0.4 +sourcepkg=$pkgname +version=1.0.5 distfiles="${XORG_SITE}/lib/$pkgname-$version.tar.bz2" build_style=gnu_configure short_desc="X Athena Widgets Library from modular Xorg X11" maintainer="Juan RP " -checksum=11f4ab184fb8dc853fd95238d4de7b251427dd036643d11fd2a669232fa35af9 +checksum=2503f3e3348ee3cf38368161dfab8112d3aea2a26deea34f3136898c13cfb88d long_desc=" Xaw is the X Athena Widget Set. Xaw is a widget set based on the X Toolkit Intrinsics (Xt) Library. This libXaw is from the modular Xorg X11." -shared_deps="libX11-1.1 libXext-1.0 libXt-1.0 libXmu-1.0 libXpm-3.5" -build_depends="pkg-config-0.23 xproto-7.0 xextproto-7.0 ${shared_deps}" -run_depends="glibc-2.8 ${shared_deps}" +subpackages="devel" +Add_dependency build pkg-config +Add_dependency build xproto +Add_dependency build xextproto +Add_dependency full glibc +Add_dependency full libX11 +Add_dependency full libXext +Add_dependency full libXt +Add_dependency full libXmu +Add_dependency full libXpm