libSM: converted to subpkgs, new deps style.

--HG--
extra : convert_revision : 071f39af5fbd506f068e92e1f76427d92e651445
This commit is contained in:
Juan RP 2009-03-19 01:46:20 +01:00
parent 6ab2bd0bba
commit 4775489e4d
4 changed files with 29 additions and 3 deletions

1
templates/libSM-devel Symbolic link
View file

@ -0,0 +1 @@
libSM

2
templates/libSM/depends Normal file
View file

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

View file

@ -0,0 +1,17 @@
# Template file for 'libSM-devel'.
#
short_desc="${short_desc} (development files)"
long_desc="${long_desc}
This package contains files for development, headers, static libs, etc."
Add_dependency run libSM
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 'libSM'.
pkgname=libSM
sourcepkg=$pkgname
version=1.1.0
distfiles="${XORG_SITE}/lib/$pkgname-$version.tar.bz2"
build_style=gnu_configure
@ -9,6 +11,10 @@ long_desc="
This package contains the library and header files for the X Session
Management Library. This is from the modular X.org project."
shared_deps="libICE-1.0 e2fsprogs-1.41"
build_depends="pkg-config-0.23 xtrans-1.2 ${shared_deps}"
run_depends="glibc-2.8 ${shared_deps}"
subpackages="devel"
Add_dependency build pkg-config
Add_dependency build xtrans
Add_dependency build e2fsprogs
Add_dependency full glibc
Add_dependency full libICE
Add_dependency run e2fsprogs-libs