From 8d93545f81d34c0b1a2f9793f9b42ffbe4c098db Mon Sep 17 00:00:00 2001 From: Juan RP Date: Thu, 19 Mar 2009 03:41:23 +0100 Subject: [PATCH] libfontenc: converted to subpkgs, new deps style. --HG-- extra : convert_revision : 99b416f50d5ae0dd8c578d0bf2548b3113c9eefa --- templates/libfontenc-devel | 1 + templates/libfontenc/depends | 2 ++ templates/libfontenc/devel.template | 17 +++++++++++++++++ templates/libfontenc/template | 9 +++++++-- 4 files changed, 27 insertions(+), 2 deletions(-) create mode 120000 templates/libfontenc-devel create mode 100644 templates/libfontenc/depends create mode 100644 templates/libfontenc/devel.template diff --git a/templates/libfontenc-devel b/templates/libfontenc-devel new file mode 120000 index 00000000000..b3d92befe05 --- /dev/null +++ b/templates/libfontenc-devel @@ -0,0 +1 @@ +libfontenc \ No newline at end of file diff --git a/templates/libfontenc/depends b/templates/libfontenc/depends new file mode 100644 index 00000000000..9dbd85baa2a --- /dev/null +++ b/templates/libfontenc/depends @@ -0,0 +1,2 @@ +abi_depends=1.0.4 +api_depends=${abi_depends} diff --git a/templates/libfontenc/devel.template b/templates/libfontenc/devel.template new file mode 100644 index 00000000000..c6fe56d0926 --- /dev/null +++ b/templates/libfontenc/devel.template @@ -0,0 +1,17 @@ +# Template file for 'libfontenc-devel'. +# +short_desc="${short_desc} (development files)" +long_desc="${long_desc} + + This package contains files for development, headers, static libs, etc." + +Add_dependency run libfontenc + +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/libfontenc/template b/templates/libfontenc/template index 461f2050b3f..22bae8f21f4 100644 --- a/templates/libfontenc/template +++ b/templates/libfontenc/template @@ -1,4 +1,6 @@ +# Template build file for 'libfontenc'. pkgname=libfontenc +sourcepkg=$pkgname version=1.0.4 distfiles="${XORG_SITE}/lib/$pkgname-$version.tar.bz2" build_style=gnu_configure @@ -8,5 +10,8 @@ checksum=b993aa3d17e845a12a49160b5d96993059ce919c7ba902005b910b867b6258c8 long_desc=" This provides the fontenc Library from the modular X.org X11 project." -build_depends="pkg-config-0.23 xproto-7.0" -run_depends="glibc-2.8 zlib-1.2" +subpackages="devel" +Add_dependency build pkg-config +Add_dependency build xproto +Add_dependency full glibc +Add_dependency full zlib