db: move shared libs into libdb subpkg, move /usr/share/doc into -docs subpkg.
This commit is contained in:
parent
ef9cfa20bf
commit
fbdbcad15f
|
@ -0,0 +1 @@
|
|||
db
|
|
@ -5,7 +5,10 @@ long_desc="${long_desc}
|
|||
|
||||
This package contains files for development, headers, static libs, etc."
|
||||
|
||||
Add_dependency run db
|
||||
revision=1
|
||||
|
||||
Add_dependency run libstdc++-devel
|
||||
Add_dependency run libdb
|
||||
|
||||
do_install()
|
||||
{
|
||||
|
|
|
@ -0,0 +1,14 @@
|
|||
# Template file for 'db-docs'.
|
||||
#
|
||||
short_desc="${short_desc} (documentation files)"
|
||||
long_desc="${long_desc}
|
||||
|
||||
This package contains the documentation files for the API and utilities."
|
||||
|
||||
noarch=yes
|
||||
|
||||
do_install()
|
||||
{
|
||||
install -d ${DESTDIR}/usr/share
|
||||
mv ${SRCPKGDESTDIR}/usr/share/doc ${DESTDIR}/usr/share
|
||||
}
|
|
@ -0,0 +1,18 @@
|
|||
# Template file for 'libdb'.
|
||||
#
|
||||
short_desc="${short_desc} - shared libraries"
|
||||
long_desc="${long_desc}
|
||||
|
||||
This package contains the shared libraries for use in client programs."
|
||||
|
||||
replaces="db<4.8.26"
|
||||
|
||||
Add_dependency run libgcc
|
||||
Add_dependency run glibc
|
||||
Add_dependency run libstdc++
|
||||
|
||||
do_install()
|
||||
{
|
||||
install -d ${DESTDIR}/usr/lib
|
||||
mv ${SRCPKGDESTDIR}/usr/lib/*.so* ${DESTDIR}/usr/lib
|
||||
}
|
|
@ -1,6 +1,7 @@
|
|||
# Template file for 'db'
|
||||
pkgname=db
|
||||
version=4.8.26
|
||||
revision=1
|
||||
wrksrc="db-${version}"
|
||||
distfiles="http://download-uk.oracle.com/berkeley-db/db-${version}.tar.gz"
|
||||
build_style=gnu_configure
|
||||
|
@ -37,10 +38,9 @@ long_desc="
|
|||
records or requiring that new records be added only at the end of the
|
||||
database."
|
||||
|
||||
subpackages="db-devel"
|
||||
subpackages="libdb db-docs db-devel"
|
||||
Add_dependency run glibc
|
||||
Add_dependency run libgcc
|
||||
Add_dependency run libstdc++
|
||||
Add_dependency run libdb
|
||||
|
||||
post_install()
|
||||
{
|
||||
|
|
|
@ -0,0 +1 @@
|
|||
db
|
|
@ -154,8 +154,8 @@ libgstpbutils-0.10.so gst-plugins-base gst-plugins-base-devel
|
|||
libgstrtp-0.10.so gst-plugins-base gst-plugins-base-devel
|
||||
libbfd-2.21.so binutils binutils-devel
|
||||
libopcodes-2.21.so binutils binutils-devel
|
||||
libdb-4.8.so db db-devel
|
||||
libdb_cxx-4.8.so db db-devel
|
||||
libdb-4.8.so libdb db-devel
|
||||
libdb_cxx-4.8.so libdb db-devel
|
||||
libperl.so perl
|
||||
libgdbm.so gdbm gdbm-devel
|
||||
libgettextsrc-0.18.so gettext-libs gettext-devel
|
||||
|
|
Loading…
Reference in New Issue