2011-12-24 12:03:28 +00:00
|
|
|
# Template file for 'mdbtools'
|
|
|
|
pkgname=mdbtools
|
|
|
|
version=0.5
|
2014-06-08 09:52:36 +00:00
|
|
|
revision=7
|
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"
|
2014-02-27 13:54:19 +00:00
|
|
|
makedepends="readline-devel>=6.3 libglib-devel"
|
2011-12-24 12:03:28 +00:00
|
|
|
short_desc="Library and utilities for reading Microsoft Access Databases"
|
2014-06-08 09:52:36 +00:00
|
|
|
maintainer="Juan RP <xtraeme@gmail.com>"
|
2011-12-24 12:03:28 +00:00
|
|
|
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
|
|
|
|
|
2013-04-14 02:24:51 +00:00
|
|
|
mdbtools-devel_package() {
|
2014-02-21 13:40:36 +00:00
|
|
|
depends="libmdb>=${version}_${revision}"
|
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
|
|
|
}
|
|
|
|
}
|