fontconfig: converted to subpkgs, new deps style.
--HG-- extra : convert_revision : 7b0f7845dd332288bd5a3ccbfefc6855ac95ef0f
This commit is contained in:
parent
61579a4a92
commit
51a3d37643
4 changed files with 33 additions and 6 deletions
1
templates/fontconfig-devel
Symbolic link
1
templates/fontconfig-devel
Symbolic link
|
@ -0,0 +1 @@
|
|||
fontconfig
|
2
templates/fontconfig/depends
Normal file
2
templates/fontconfig/depends
Normal file
|
@ -0,0 +1,2 @@
|
|||
abi_depends=2.6.0
|
||||
api_depends=${abi_depends}
|
22
templates/fontconfig/devel.template
Normal file
22
templates/fontconfig/devel.template
Normal file
|
@ -0,0 +1,22 @@
|
|||
# Template file for 'fontconfig-devel'.
|
||||
#
|
||||
short_desc="${short_desc} (development files)"
|
||||
long_desc="${long_desc}
|
||||
|
||||
This package contains files for development, headers, static libs, etc."
|
||||
|
||||
Add_dependency run fontconfig
|
||||
|
||||
do_install()
|
||||
{
|
||||
mkdir -p ${DESTDIR}/usr/lib
|
||||
mkdir -p ${DESTDIR}/usr/share/man
|
||||
mkdir -p ${DESTDIR}/usr/share/doc/fontconfig
|
||||
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/man/man3 ${DESTDIR}/usr/share/man
|
||||
mv ${SRCPKGDESTDIR}/usr/share/doc/fontconfig/$pkgname* \
|
||||
${DESTDIR}/usr/share/doc/fontconfig
|
||||
}
|
|
@ -1,4 +1,6 @@
|
|||
# Template build file for 'fontconfig'.
|
||||
pkgname=fontconfig
|
||||
sourcepkg=$pkgname
|
||||
version=2.6.0
|
||||
distfiles="http://www.fontconfig.org/release/$pkgname-$version.tar.gz"
|
||||
build_style=gnu_configure
|
||||
|
@ -32,9 +34,9 @@ long_desc="
|
|||
* depend on the X Window System in any fashion, so that printer only
|
||||
applications do not have such dependencies."
|
||||
|
||||
# Run fc-cache once installed.
|
||||
postinstall_helpers="fontconfig-update.sh"
|
||||
|
||||
shared_deps="expat-2.0 freetype-2.3.8"
|
||||
build_depends="pkg-config-0.23 ${shared_deps}"
|
||||
run_depends="glibc-2.8 ${shared_deps}"
|
||||
conf_files="/etc/fonts/fonts.conf"
|
||||
subpackages="devel"
|
||||
Add_dependency build pkg-config
|
||||
Add_dependency full glibc
|
||||
Add_dependency full expat
|
||||
Add_dependency full freetype
|
||||
|
|
Loading…
Reference in a new issue