wok-6.x view mdbtools/receipt @ rev 13797

Create grub entry based on current root partition. Fix bug78
author border
date Sat Jan 05 12:34:10 2013 -0500 (2013-01-05)
parents 67e834531445
children 380ffe05937a
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 TARBALL="$PACKAGE-$VERSION.tar.gz"
9 WEB_SITE="http://mdbtools.sourceforge.net/"
10 WGET_URL="$SF_MIRROR/$PACKAGE/$PACKAGE/$VERSION/$TARBALL"
12 DEPENDS="ncurses readline glib libunixODBC libltdl"
13 BUILD_DEPENDS="bison flex unixODBC-dev glib-dev readline-dev"
15 # Rules to configure and make the package.
16 compile_rules()
17 {
18 cd $src
19 sed -i 's|.*mdb_backends;|// &|' include/mdbtools.h
20 ./configure --prefix=/usr --infodir=/usr/share/info \
21 --enable-sql --with-unixodbc=/usr \
22 --mandir=/usr/share/man \
23 $CONFIGURE_ARGS &&
24 make &&
25 make DESTDIR=$DESTDIR install
26 }
28 # Rules to gen a SliTaz package suitable for Tazpkg.
29 genpkg_rules()
30 {
31 cp -a $install/* $fs
32 }