From dd1630ecda16dfae5f4539165c4eb256fa33041b Mon Sep 17 00:00:00 2001 From: Juan RP Date: Fri, 23 Apr 2010 14:23:03 +0200 Subject: [PATCH] libndbclient: move so symlink into main pkg. --HG-- extra : convert_revision : ad7d7d39a394e4097786747a9a7ac334703dc8f7 --- srcpkgs/mysql/libndbclient-devel.template | 8 ++++---- srcpkgs/mysql/libndbclient.template | 4 +++- 2 files changed, 7 insertions(+), 5 deletions(-) diff --git a/srcpkgs/mysql/libndbclient-devel.template b/srcpkgs/mysql/libndbclient-devel.template index e736701466..e1e4eb4bf2 100644 --- a/srcpkgs/mysql/libndbclient-devel.template +++ b/srcpkgs/mysql/libndbclient-devel.template @@ -5,6 +5,8 @@ long_desc="${long_desc} This package includes the NDB development files." +revision=1 + Add_dependency run glibc Add_dependency run libndbclient @@ -12,11 +14,9 @@ noverifyrdeps=yes do_install() { - mkdir -p ${DESTDIR}/usr/lib ${DESTDIR}/usr/share/man/man1 \ - ${DESTDIR}/usr/bin + mkdir -p ${DESTDIR}/usr/{bin,lib} ${DESTDIR}/usr/share/man/man1 - mv ${SRCPKGDESTDIR}/usr/lib/mysql/libndbclient*.{a,so} \ - ${DESTDIR}/usr/lib + mv ${SRCPKGDESTDIR}/usr/lib/mysql/libndbclient*.a ${DESTDIR}/usr/lib mv ${SRCPKGDESTDIR}/usr/bin/ndb_config ${DESTDIR}/usr/bin mv ${SRCPKGDESTDIR}/usr/share/man/man1/ndb_config.1 \ ${DESTDIR}/usr/share/man/man1 diff --git a/srcpkgs/mysql/libndbclient.template b/srcpkgs/mysql/libndbclient.template index 9ded370f0b..c3812ed7d3 100644 --- a/srcpkgs/mysql/libndbclient.template +++ b/srcpkgs/mysql/libndbclient.template @@ -5,11 +5,13 @@ long_desc="${long_desc} This package includes the NDB client library." +revision=1 + Add_dependency run glibc Add_dependency run zlib do_install() { mkdir -p ${DESTDIR}/usr/lib - mv ${SRCPKGDESTDIR}/usr/lib/mysql/libndbclient*.so.* ${DESTDIR}/usr/lib + mv ${SRCPKGDESTDIR}/usr/lib/mysql/libndbclient*.so* ${DESTDIR}/usr/lib }