From ca050e13b04dfb61e6d7f5e3df21d8ff979ac034 Mon Sep 17 00:00:00 2001 From: davehome Date: Sat, 24 Dec 2011 05:03:28 -0700 Subject: [PATCH] New package: mdbtools-0.5. --- common/shlibs | 2 ++ srcpkgs/libmdb | 1 + srcpkgs/mdbtools-devel | 1 + srcpkgs/mdbtools-docs | 1 + srcpkgs/mdbtools/libmdb.rshlibs | 2 ++ srcpkgs/mdbtools/libmdb.template | 11 +++++++++++ srcpkgs/mdbtools/mdbtools-devel.template | 14 +++++++++++++ srcpkgs/mdbtools/mdbtools-docs.template | 11 +++++++++++ srcpkgs/mdbtools/mdbtools.rshlibs | 3 +++ srcpkgs/mdbtools/template | 25 ++++++++++++++++++++++++ 10 files changed, 71 insertions(+) create mode 120000 srcpkgs/libmdb create mode 120000 srcpkgs/mdbtools-devel create mode 120000 srcpkgs/mdbtools-docs create mode 100644 srcpkgs/mdbtools/libmdb.rshlibs create mode 100644 srcpkgs/mdbtools/libmdb.template create mode 100644 srcpkgs/mdbtools/mdbtools-devel.template create mode 100644 srcpkgs/mdbtools/mdbtools-docs.template create mode 100644 srcpkgs/mdbtools/mdbtools.rshlibs create mode 100644 srcpkgs/mdbtools/template diff --git a/common/shlibs b/common/shlibs index 8c4fe2db68..7dc88517e7 100644 --- a/common/shlibs +++ b/common/shlibs @@ -936,3 +936,5 @@ libnilfs.so.0 libnilfs nilfs-utils-devel libnilfsgc.so.0 libnilfs nilfs-utils-devel libnilfscleaner.so.0 libnilfs nilfs-utils-devel libchicken.so.6 libchicken chicken-devel +libmdb.so.0.0.0 libmdb mdbtools-devel +libmdbsql.so.0 libmdb mdbtools-devel diff --git a/srcpkgs/libmdb b/srcpkgs/libmdb new file mode 120000 index 0000000000..2eab33f4a9 --- /dev/null +++ b/srcpkgs/libmdb @@ -0,0 +1 @@ +mdbtools \ No newline at end of file diff --git a/srcpkgs/mdbtools-devel b/srcpkgs/mdbtools-devel new file mode 120000 index 0000000000..2eab33f4a9 --- /dev/null +++ b/srcpkgs/mdbtools-devel @@ -0,0 +1 @@ +mdbtools \ No newline at end of file diff --git a/srcpkgs/mdbtools-docs b/srcpkgs/mdbtools-docs new file mode 120000 index 0000000000..2eab33f4a9 --- /dev/null +++ b/srcpkgs/mdbtools-docs @@ -0,0 +1 @@ +mdbtools \ No newline at end of file diff --git a/srcpkgs/mdbtools/libmdb.rshlibs b/srcpkgs/mdbtools/libmdb.rshlibs new file mode 100644 index 0000000000..02e6d4bf5b --- /dev/null +++ b/srcpkgs/mdbtools/libmdb.rshlibs @@ -0,0 +1,2 @@ +libglib-2.0.so.0 +libc.so.6 diff --git a/srcpkgs/mdbtools/libmdb.template b/srcpkgs/mdbtools/libmdb.template new file mode 100644 index 0000000000..a0a12c5c67 --- /dev/null +++ b/srcpkgs/mdbtools/libmdb.template @@ -0,0 +1,11 @@ +# Template file for 'libmdb'. +# +short_desc="${short_desc} (Runtime library)" +long_desc="${long_desc} + + This package contains the mdbtools runtime lib(s)." + +do_install() +{ + vmove "usr/lib/*.so*" usr/lib +} diff --git a/srcpkgs/mdbtools/mdbtools-devel.template b/srcpkgs/mdbtools/mdbtools-devel.template new file mode 100644 index 0000000000..a5ff4eb924 --- /dev/null +++ b/srcpkgs/mdbtools/mdbtools-devel.template @@ -0,0 +1,14 @@ +# Template file for 'mdbtools-devel'. +# +short_desc="${short_desc} (Development files)" +long_desc="${long_desc} + + This package contains files for development, headers, static libs, etc." + +Add_dependency run libmdb + +do_install() +{ + vmove usr/include usr + vmove "usr/lib/*.a" usr +} diff --git a/srcpkgs/mdbtools/mdbtools-docs.template b/srcpkgs/mdbtools/mdbtools-docs.template new file mode 100644 index 0000000000..21b90ac0e9 --- /dev/null +++ b/srcpkgs/mdbtools/mdbtools-docs.template @@ -0,0 +1,11 @@ +# Template file for 'mdbtools-docs'. +# +short_desc="${short_desc} (Documentation)" +long_desc="${long_desc} + + This package contains the mdbtools manpage(s)." + +do_install() +{ + vmove usr/share/man usr/share +} diff --git a/srcpkgs/mdbtools/mdbtools.rshlibs b/srcpkgs/mdbtools/mdbtools.rshlibs new file mode 100644 index 0000000000..699433e856 --- /dev/null +++ b/srcpkgs/mdbtools/mdbtools.rshlibs @@ -0,0 +1,3 @@ +libc.so.6 +libmdb.so.0 +libmdbsql.so.0 diff --git a/srcpkgs/mdbtools/template b/srcpkgs/mdbtools/template new file mode 100644 index 0000000000..cd7d2f12df --- /dev/null +++ b/srcpkgs/mdbtools/template @@ -0,0 +1,25 @@ +# Template file for 'mdbtools' +pkgname=mdbtools +version=0.5 +distfiles="${SOURCEFORGE_SITE}/${pkgname}/${pkgname}-${version}.tar.gz" +build_style=gnu-configure +configure_args="--disable-glibtest --enable-sql" +short_desc="Library and utilities for reading Microsoft Access Databases" +maintainer="davehome " +homepage="http://mdbtools.sourceforge.net/" +license="GPL-3" +checksum=7a5db39fecff5ce4fb91e019acf5795b40221aff09bbd6d84f8dec60f017b05d +long_desc=" + The MDB Tools project is a effort to document the MDB file format used in + Microsoft's Access database package, and to provide a set of tools and + applications to make that data available on other platforms. + + Specifically, MDB Tools includes programs to export schema and data to other + databases such as MySQL, Oracle, Sybase, PostgreSQL, and others." + +subpackages="${pkgname}-devel ${pkgname}-docs libmdb" + +Add_dependency build flex +Add_dependency build bison +Add_dependency build pkg-config +Add_dependency build glib-devel