wok-next view mdbtools/receipt @ rev 18031
Up: cookutils, cookutils-daemon (730)
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Fri May 08 14:58:46 2015 +0300 (2015-05-08) |
parents | 76e4946f6fa6 |
children | 9e5dca6702bf |
line source
1 # SliTaz package receipt.
3 PACKAGE="mdbtools"
4 VERSION="0.6pre1"
5 CATEGORY="development"
6 SHORT_DESC="Export Microsoft's Access database."
7 MAINTAINER="pascal.bellard@slitaz.org"
8 LICENSE="GPL2"
9 TARBALL="$PACKAGE-$VERSION.tar.gz"
10 WEB_SITE="http://mdbtools.sourceforge.net/"
11 WGET_URL="$SF_MIRROR/$PACKAGE/$PACKAGE/$VERSION/$TARBALL"
13 DEPENDS="ncurses readline glib libunixODBC libltdl"
14 BUILD_DEPENDS="bison flex unixODBC-dev glib-dev readline-dev"
16 # Rules to configure and make the package.
17 compile_rules()
18 {
19 cd $src
20 sed -i 's|.*mdb_backends;|// &|' include/mdbtools.h
21 ./configure --prefix=/usr --infodir=/usr/share/info \
22 --enable-sql --with-unixodbc=/usr \
23 --mandir=/usr/share/man \
24 $CONFIGURE_ARGS &&
25 make &&
26 make DESTDIR=$DESTDIR install
27 }
29 # Rules to gen a SliTaz package suitable for Tazpkg.
30 genpkg_rules()
31 {
32 cp -a $install/* $fs
33 }