2011-12-24 13:03:28 +01:00
|
|
|
# Template file for 'mdbtools'
|
|
|
|
pkgname=mdbtools
|
|
|
|
version=0.5
|
2014-06-08 11:52:36 +02:00
|
|
|
revision=7
|
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"
|
2014-02-27 14:54:19 +01:00
|
|
|
makedepends="readline-devel>=6.3 libglib-devel"
|
2011-12-24 13:03:28 +01:00
|
|
|
short_desc="Library and utilities for reading Microsoft Access Databases"
|
2014-06-08 11:52:36 +02:00
|
|
|
maintainer="Juan RP <xtraeme@gmail.com>"
|
2011-12-24 13:03:28 +01:00
|
|
|
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
|
|
|
|
|
2013-04-14 04:24:51 +02:00
|
|
|
mdbtools-devel_package() {
|
2014-02-21 14:40:36 +01:00
|
|
|
depends="libmdb>=${version}_${revision}"
|
2013-07-13 08:23:34 +02:00
|
|
|
short_desc+=" - development files"
|
2013-04-14 04:24:51 +02:00
|
|
|
pkg_install() {
|
|
|
|
vmove usr/include
|
|
|
|
vmove "usr/lib/*.a"
|
2013-07-13 08:23:34 +02:00
|
|
|
vmove "usr/lib/*.so"
|
2013-04-14 04:24:51 +02:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
libmdb_package() {
|
2013-07-13 08:23:34 +02:00
|
|
|
short_desc+=" - runtime library"
|
2013-04-14 04:24:51 +02:00
|
|
|
pkg_install() {
|
2013-07-13 08:23:34 +02:00
|
|
|
vmove "usr/lib/*.so.*"
|
2013-04-14 04:24:51 +02:00
|
|
|
}
|
|
|
|
}
|