libXft: converted to subpkgs, new deps style.

--HG--
extra : convert_revision : 196c6269ba6da70842cdc23d58f143e5a5267f1e
This commit is contained in:
Juan RP 2009-03-19 03:49:35 +01:00
parent e5d3f90715
commit d92607db33
4 changed files with 32 additions and 3 deletions

1
templates/libXft-devel Symbolic link
View file

@ -0,0 +1 @@
libXft

2
templates/libXft/depends Normal file
View file

@ -0,0 +1,2 @@
abi_depends=2.1.13
api_depends=${abi_depends}

View file

@ -0,0 +1,19 @@
# Template file for 'libXft-devel'.
#
short_desc="${short_desc} (development files)"
long_desc="${long_desc}
This package contains files for development, headers, static libs, etc."
Add_dependency run libXft
do_install()
{
mkdir -p ${DESTDIR}/usr/lib
mv ${SRCPKGDESTDIR}/usr/bin ${DESTDIR}/usr
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
}

View file

@ -1,4 +1,6 @@
# Template build file for 'libXft'.
pkgname=libXft
sourcepkg=$pkgname
version=2.1.13
distfiles="${XORG_SITE}/lib/$pkgname-$version.tar.bz2"
build_style=gnu_configure
@ -17,6 +19,11 @@ long_desc="
can confidently use its API to access client-side fonts in any X
environment."
shared_deps="libX11-1.1 libXrender-0.9 freetype-2.3.8 fontconfig-2.6"
build_depends="pkg-config-0.23 ${shared_deps}"
run_depends="glibc-2.8 ${shared_deps}"
subpackages="devel"
Add_dependency build pkg-config
Add_dependency build xproto
Add_dependency full glibc
Add_dependency full libX11
Add_dependency full libXrender
Add_dependency full freetype
Add_dependency full fontconfig