libXScrnSaver: move so symlinks into main pkg.

This commit is contained in:
Juan RP 2011-02-27 15:32:01 +01:00
parent 85dd3c03d6
commit f1c774c0e7
2 changed files with 12 additions and 4 deletions

View file

@ -5,13 +5,18 @@ long_desc="${long_desc}
This package contains files for development, headers, static libs, etc." This package contains files for development, headers, static libs, etc."
revision=1
Add_dependency run pkg-config
Add_dependency run xextproto
Add_dependency run scrnsaverproto
Add_dependency run libX11-devel
Add_dependency run libXext-devel
Add_dependency run libXScrnSaver Add_dependency run libXScrnSaver
do_install() do_install()
{ {
mkdir -p ${DESTDIR}/usr/lib mkdir -p ${DESTDIR}/usr/lib
mv ${SRCPKGDESTDIR}/usr/lib/lib*.*a ${DESTDIR}/usr/lib 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/lib/pkgconfig ${DESTDIR}/usr/lib
mv ${SRCPKGDESTDIR}/usr/share ${DESTDIR}/usr mv ${SRCPKGDESTDIR}/usr/share ${DESTDIR}/usr
} }

View file

@ -1,6 +1,7 @@
# Template build file for 'libXScrnSaver'. # Template build file for 'libXScrnSaver'.
pkgname=libXScrnSaver pkgname=libXScrnSaver
version=1.2.0 version=1.2.0
revision=1
distfiles="${XORG_SITE}/lib/$pkgname-$version.tar.bz2" distfiles="${XORG_SITE}/lib/$pkgname-$version.tar.bz2"
build_style=gnu_configure build_style=gnu_configure
short_desc="X11 Screen Saver Library" short_desc="X11 Screen Saver Library"
@ -11,9 +12,11 @@ long_desc="
This is from the modular X.org X11 project." This is from the modular X.org X11 project."
subpackages="$pkgname-devel" subpackages="$pkgname-devel"
Add_dependency run glibc
Add_dependency run libX11
Add_dependency run libXext
Add_dependency build pkg-config Add_dependency build pkg-config
Add_dependency build xextproto Add_dependency build xextproto
Add_dependency build scrnsaverproto Add_dependency build scrnsaverproto
Add_dependency full glibc Add_dependency build libX11-devel
Add_dependency full libX11 Add_dependency build libXext-devel
Add_dependency full libXext