libXrandr: update to 1.3.0, converted to subpkgs, new deps style.

--HG--
extra : convert_revision : f77157e8e5f5607010284aaaa6bd60a578603451
This commit is contained in:
Juan RP 2009-03-19 02:40:13 +01:00
parent 41b7e83cb3
commit 5a65a93cc5
4 changed files with 35 additions and 6 deletions

1
templates/libXrandr-devel Symbolic link
View file

@ -0,0 +1 @@
libXrandr

View file

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

View file

@ -0,0 +1,18 @@
# Template file for 'libXrandr-devel'.
#
short_desc="${short_desc} (development files)"
long_desc="${long_desc}
This package contains files for development, headers, static libs, etc."
Add_dependency run libXrandr
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,10 +1,12 @@
# Template build file for 'libXrandr'.
pkgname=libXrandr
version=1.2.3
sourcepkg=$pkgname
version=1.3.0
distfiles="${XORG_SITE}/lib/$pkgname-$version.tar.bz2"
build_style=gnu_configure
short_desc="X RandR Library from X.org"
maintainer="Juan RP <xtraeme@gmail.com>"
checksum=f8edfe26b8c4c3677a3a949f81a8b09a5fad62972020bfd230401e11cc0ed267
checksum=5961ce0f77c5173a8208b3ed669ac01719f2bf4a10517ffa6c33a5e064802e78
long_desc="
This package provides the X RandR Library from the modular X.org
X11 project.
@ -14,7 +16,13 @@ long_desc="
the size and rotation of the root window of a screen, along with
the ability to reflect the screen about either axis."
shared_deps="libX11-1.1 libXext-1.0 libXrender-0.9"
build_depends="pkg-config-0.23 xproto-7.0 xextproto-7.0 renderproto-1.2
${shared_deps}"
run_depends="glibc-2.8 ${shared_deps}"
subpackages="devel"
Add_dependency build pkg-config
Add_dependency build xproto
Add_dependency build xextproto
Add_dependency build renderproto
Add_dependency build randrproto
Add_dependency full glibc
Add_dependency full libX11
Add_dependency full libXext
Add_dependency full libXrender