libXdmcp: converted to subpkgs.

--HG--
extra : convert_revision : cbc4b2786249be47cc910f4e4cca4cd8591c2042
This commit is contained in:
Juan RP 2009-03-19 01:35:28 +01:00
parent db5b213b79
commit ed3e629b66
3 changed files with 20 additions and 0 deletions

1
templates/libXdmcp-devel Symbolic link
View File

@ -0,0 +1 @@
libXdmcp

View File

@ -0,0 +1,17 @@
# Template file for 'libXdmcp-devel'.
#
short_desc="${short_desc} (development files)"
long_desc="${long_desc}
This package contains files for development, headers, static libs, etc."
Add_dependency run libXdmcp
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,5 +1,6 @@
# Template build file for 'libXdmcp'.
pkgname=libXdmcp
sourcepkg=$pkgname
version=1.0.2
distfiles="${XORG_SITE}/lib/$pkgname-$version.tar.bz2"
build_style=gnu_configure
@ -10,6 +11,7 @@ long_desc="
This is the X Display Manager Control Protocol library. This is
from the modular X.org X11 project."
subpackages="devel"
Add_dependency full glibc
Add_dependency build pkg-config
Add_dependency build xproto