2011-12-24 12:03:28 +00:00
|
|
|
# Template file for 'mdbtools'
|
|
|
|
pkgname=mdbtools
|
|
|
|
version=0.5
|
2013-07-13 06:23:34 +00:00
|
|
|
revision=3
|
2011-12-24 12:03:28 +00:00
|
|
|
build_style=gnu-configure
|
|
|
|
configure_args="--disable-glibtest --enable-sql"
|
2013-04-14 02:24:51 +00:00
|
|
|
hostmakedepends="flex bison pkg-config"
|
|
|
|
makedepends="libglib-devel"
|
2011-12-24 12:03:28 +00:00
|
|
|
short_desc="Library and utilities for reading Microsoft Access Databases"
|
|
|
|
maintainer="davehome <davehome@redthumb.info.tm>"
|
|
|
|
homepage="http://mdbtools.sourceforge.net/"
|
2011-12-24 12:05:06 +00:00
|
|
|
license="GPL-2, LGPL-2.1"
|
2013-04-14 02:24:51 +00:00
|
|
|
distfiles="${SOURCEFORGE_SITE}/${pkgname}/${pkgname}-${version}.tar.gz"
|
2011-12-24 12:03:28 +00:00
|
|
|
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."
|
|
|
|
|
2013-04-14 02:24:51 +00:00
|
|
|
mdbtools-devel_package() {
|
|
|
|
depends="libmdb>=${version}"
|
2013-07-13 06:23:34 +00:00
|
|
|
short_desc+=" - development files"
|
2013-04-14 02:24:51 +00:00
|
|
|
pkg_install() {
|
|
|
|
vmove usr/include
|
|
|
|
vmove "usr/lib/*.a"
|
2013-07-13 06:23:34 +00:00
|
|
|
vmove "usr/lib/*.so"
|
2013-04-14 02:24:51 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
libmdb_package() {
|
2013-07-13 06:23:34 +00:00
|
|
|
short_desc+=" - runtime library"
|
2013-04-14 02:24:51 +00:00
|
|
|
pkg_install() {
|
2013-07-13 06:23:34 +00:00
|
|
|
vmove "usr/lib/*.so.*"
|
2013-04-14 02:24:51 +00:00
|
|
|
}
|
|
|
|
}
|
2011-12-24 12:03:28 +00:00
|
|
|
|
2013-04-14 02:24:51 +00:00
|
|
|
mdbtools_package() {
|
|
|
|
pkg_install() {
|
|
|
|
vmove usr
|
|
|
|
}
|
|
|
|
}
|