libfontenc: converted to subpkgs, new deps style.

--HG--
extra : convert_revision : 99b416f50d5ae0dd8c578d0bf2548b3113c9eefa
This commit is contained in:
Juan RP 2009-03-19 03:41:23 +01:00
parent 4982c56e4e
commit 8d93545f81
4 changed files with 27 additions and 2 deletions

1
templates/libfontenc-devel Symbolic link
View File

@ -0,0 +1 @@
libfontenc

View File

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

View File

@ -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
}

View File

@ -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