libXdamage: converted to subpkgs, new deps style.

--HG--
extra : convert_revision : 7cf9d63d19f8d7bc3f06cf65255ebca17428f0b7
This commit is contained in:
Juan RP 2009-03-19 02:50:27 +01:00
parent fd99372ff9
commit 6c02b3c470
4 changed files with 29 additions and 3 deletions

1
templates/libXdamage-devel Symbolic link
View file

@ -0,0 +1 @@
libXdamage

View file

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

View file

@ -0,0 +1,17 @@
# Template file for 'libXdamage-devel'.
#
short_desc="${short_desc} (development files)"
long_desc="${long_desc}
This package contains files for development, headers, static libs, etc."
Add_dependency run libXdamage
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 'libXdamage'.
pkgname=libXdamage
sourcepkg=$pkgname
version=1.1.1
distfiles="${XORG_SITE}/lib/$pkgname-$version.tar.bz2"
build_style=gnu_configure
@ -8,6 +10,10 @@ checksum=0102754db23952a1c3adf7881bbf191f91ca3e3d183e1b0179452bce932fae2e
long_desc="
This package contains the Xdamage extension."
shared_deps="libX11-1.1 libXfixes-4.0"
build_depends="pkg-config-0.23 damageproto-1.1 ${shared_deps}"
run_depends="glibc-2.8 ${shared_deps}"
subpackages="devel"
Add_dependency build pkg-config
Add_dependency build xproto
Add_dependency build damageproto
Add_dependency full glibc
Add_dependency full libX11
Add_dependency full libXfixes