libXt: converted to subpkgs, new deps style.

--HG--
extra : convert_revision : c6b9cec812b7fb0c0d78ea63594ac45314f15333
This commit is contained in:
Juan RP 2009-03-19 01:59:30 +01:00
parent 4775489e4d
commit b5d74fd192
4 changed files with 36 additions and 3 deletions

1
templates/libXt-devel Symbolic link
View File

@ -0,0 +1 @@
libXt

2
templates/libXt/depends Normal file
View File

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

View File

@ -0,0 +1,21 @@
# Template file for 'libXt-devel'.
#
short_desc="${short_desc} (development files)"
long_desc="${long_desc}
This package contains files for development, headers, static libs, etc."
Add_dependency run libXt
do_install()
{
mkdir -p ${DESTDIR}/usr/lib
mkdir -p ${DESTDIR}/usr/share/man
mv ${SRCPKGDESTDIR}/usr/bin ${DESTDIR}/usr
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/man ${DESTDIR}/usr/share
rm -rf ${SRCPKGDESTDIR}/usr/share
}

View File

@ -1,4 +1,6 @@
# Template build file for 'libXt'.
pkgname=libXt
sourcepkg=$pkgname
version=1.0.5
distfiles="${XORG_SITE}/lib/$pkgname-$version.tar.bz2"
build_style=gnu_configure
@ -13,6 +15,13 @@ long_desc="
This is from the modular X.org project."
shared_deps="libSM-1.0 libICE-1.0 libX11-1.1 e2fsprogs-1.41"
build_depends="pkg-config-0.23 xproto-7.0 kbproto-1.0 ${shared_deps}"
run_depends="glibc-2.8 ${shared_deps}"
subpackages="devel"
Add_dependency build pkg-config
Add_dependency build xproto
Add_dependency build kbproto
Add_dependency build e2fsprogs
Add_dependency full glibc
Add_dependency full libSM
Add_dependency full libICE
Add_dependency full libX11
Add_dependency run e2fsprogs-libs