51 lines
1.3 KiB
Text
51 lines
1.3 KiB
Text
# Template file for 'mdbtools'
|
|
pkgname=mdbtools
|
|
version=0.5
|
|
revision=2
|
|
build_style=gnu-configure
|
|
configure_args="--disable-glibtest --enable-sql"
|
|
hostmakedepends="flex bison pkg-config"
|
|
makedepends="libglib-devel"
|
|
short_desc="Library and utilities for reading Microsoft Access Databases"
|
|
maintainer="davehome <davehome@redthumb.info.tm>"
|
|
homepage="http://mdbtools.sourceforge.net/"
|
|
license="GPL-2, LGPL-2.1"
|
|
distfiles="${SOURCEFORGE_SITE}/${pkgname}/${pkgname}-${version}.tar.gz"
|
|
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."
|
|
|
|
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*"
|
|
}
|
|
}
|
|
|
|
mdbtools_package() {
|
|
pkg_install() {
|
|
vmove usr
|
|
}
|
|
}
|