2011-12-24 13:03:28 +01:00
|
|
|
# Template file for 'mdbtools'
|
|
|
|
pkgname=mdbtools
|
|
|
|
version=0.5
|
2013-04-14 04:24:51 +02:00
|
|
|
revision=2
|
2011-12-24 13:03:28 +01:00
|
|
|
build_style=gnu-configure
|
|
|
|
configure_args="--disable-glibtest --enable-sql"
|
2013-04-14 04:24:51 +02:00
|
|
|
hostmakedepends="flex bison pkg-config"
|
|
|
|
makedepends="libglib-devel"
|
2011-12-24 13:03:28 +01: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 13:05:06 +01:00
|
|
|
license="GPL-2, LGPL-2.1"
|
2013-04-14 04:24:51 +02:00
|
|
|
distfiles="${SOURCEFORGE_SITE}/${pkgname}/${pkgname}-${version}.tar.gz"
|
2011-12-24 13:03:28 +01: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 04:24:51 +02:00
|
|
|
mdbtools-devel_package() {
|
|
|
|
depends="libmdb>=${version}"
|
|
|
|
short_desc+=" -- development files"
|
|
|
|
pkg_install() {
|
|
|
|
vmove usr/include
|
|
|
|
vmove "usr/lib/*.a"
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
mdbtools-docs_package() {
|
|
|
|
noarch=yes
|
|
|
|
short_desc+=" -- Documentation"
|
|
|
|
pkg_install() {
|
|
|
|
vmove usr/share/man
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
libmdb_package() {
|
|
|
|
short_desc+=" -- runtime library"
|
|
|
|
pkg_install() {
|
|
|
|
vmove "usr/lib/*.so*"
|
|
|
|
}
|
|
|
|
}
|
2011-12-24 13:03:28 +01:00
|
|
|
|
2013-04-14 04:24:51 +02:00
|
|
|
mdbtools_package() {
|
|
|
|
pkg_install() {
|
|
|
|
vmove usr
|
|
|
|
}
|
|
|
|
}
|