libXfixes: converted to subpkgs, new deps style.

--HG--
extra : convert_revision : 831ede8d41f9ba66083263c9e4ba43b657aabf39
This commit is contained in:
Juan RP 2009-03-19 02:27:18 +01:00
parent b8955b21e7
commit 0160d0e85d
4 changed files with 29 additions and 3 deletions

1
templates/libXfixes-devel Symbolic link
View file

@ -0,0 +1 @@
libXfixes

View file

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

View file

@ -0,0 +1,18 @@
# Template file for 'libXfixes-devel'.
#
short_desc="${short_desc} (development files)"
long_desc="${long_desc}
This package contains files for development, headers, static libs, etc."
Add_dependency run libXfixes
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
}

View file

@ -1,4 +1,6 @@
# Template build file for 'libXfixes'.
pkgname=libXfixes
sourcepkg=$pkgname
version=4.0.3
distfiles="${XORG_SITE}/lib/$pkgname-$version.tar.bz2"
build_style=gnu_configure
@ -14,6 +16,9 @@ long_desc="
This package provides the libXFixes library from the modular X.org
X11 project."
shared_deps="libX11-1.1"
build_depends="pkg-config-0.23 xproto-7.0 fixesproto-4.0 ${shared_deps}"
run_depends="glibc-2.8 ${shared_deps}"
subpackages="devel"
Add_dependency build pkg-config
Add_dependency build xproto
Add_dependency build fixesproto
Add_dependency full glibc
Add_dependency full libX11