wok-6.x annotate mdbtools/receipt @ rev 22749

Up libcomerr (1.44.5)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Fri Jan 24 12:15:02 2020 +0100 (2020-01-24)
parents 380ffe05937a
children afae00265386
rev   line source
pascal@13582 1 # SliTaz package receipt.
pascal@13582 2
pascal@13582 3 PACKAGE="mdbtools"
pascal@13582 4 VERSION="0.6pre1"
pascal@13582 5 CATEGORY="development"
pascal@13582 6 SHORT_DESC="Export Microsoft's Access database."
pascal@13582 7 MAINTAINER="pascal.bellard@slitaz.org"
pascal@15000 8 LICENSE="GPL2"
pascal@13582 9 TARBALL="$PACKAGE-$VERSION.tar.gz"
pascal@13582 10 WEB_SITE="http://mdbtools.sourceforge.net/"
pascal@13582 11 WGET_URL="$SF_MIRROR/$PACKAGE/$PACKAGE/$VERSION/$TARBALL"
pascal@13582 12
pascal@13582 13 DEPENDS="ncurses readline glib libunixODBC libltdl"
pascal@13583 14 BUILD_DEPENDS="bison flex unixODBC-dev glib-dev readline-dev"
pascal@13582 15
pascal@13582 16 # Rules to configure and make the package.
pascal@13582 17 compile_rules()
pascal@13582 18 {
pascal@13582 19 sed -i 's|.*mdb_backends;|// &|' include/mdbtools.h
pascal@13582 20 ./configure --prefix=/usr --infodir=/usr/share/info \
pascal@13582 21 --enable-sql --with-unixodbc=/usr \
pascal@13582 22 --mandir=/usr/share/man \
pascal@13582 23 $CONFIGURE_ARGS &&
pascal@22351 24 make -j 1 &&
pascal@22351 25 make -j 1 DESTDIR=$DESTDIR install
pascal@13582 26 }
pascal@13582 27
pascal@13582 28 # Rules to gen a SliTaz package suitable for Tazpkg.
pascal@13582 29 genpkg_rules()
pascal@13582 30 {
pascal@13582 31 cp -a $install/* $fs
pascal@13582 32 }