libXcursor: converted to subpkgs, new deps style.

--HG--
extra : convert_revision : e54de4e8d49a338e0ca30f8f37912a4451888fe0
This commit is contained in:
Juan RP 2009-03-19 02:45:11 +01:00
parent 5a65a93cc5
commit 0c028ea79d
4 changed files with 30 additions and 3 deletions

1
templates/libXcursor-devel Symbolic link
View File

@ -0,0 +1 @@
libXcursor

View File

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

View File

@ -0,0 +1,18 @@
# Template file for 'libXcursor-devel'.
#
short_desc="${short_desc} (development files)"
long_desc="${long_desc}
This package contains files for development, headers, static libs, etc."
Add_dependency run libXcursor
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 'libXcursor'.
pkgname=libXcursor
sourcepkg=$pkgname
version=1.1.9
distfiles="${XORG_SITE}/lib/$pkgname-$version.tar.bz2"
build_style=gnu_configure
@ -12,6 +14,10 @@ long_desc="
This is from the modular X.org project."
shared_deps="libX11-1.1 libXrender-0.9 libXfixes-4.0"
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 libXfixes