wok-current view mdbtools/receipt @ rev 23156
Up nwipe (0.28) again
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sun Mar 15 17:43:47 2020 +0100 (2020-03-15) |
parents | 380ffe05937a |
children | afae00265386 |
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 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 -j 1 &&
25 make -j 1 DESTDIR=$DESTDIR install
26 }
28 # Rules to gen a SliTaz package suitable for Tazpkg.
29 genpkg_rules()
30 {
31 cp -a $install/* $fs
32 }