wok-current annotate mdbtools/receipt @ rev 21483
updated mpfr and mpfr-dev (3.1.5 -> 4.0.2)
author | Hans-G?nter Theisgen |
---|---|
date | Wed May 01 10:09:51 2019 +0100 (2019-05-01) |
parents | 76e4946f6fa6 |
children | d823d9a16027 |
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 cd $src |
pascal@13582 | 20 sed -i 's|.*mdb_backends;|// &|' include/mdbtools.h |
pascal@13582 | 21 ./configure --prefix=/usr --infodir=/usr/share/info \ |
pascal@13582 | 22 --enable-sql --with-unixodbc=/usr \ |
pascal@13582 | 23 --mandir=/usr/share/man \ |
pascal@13582 | 24 $CONFIGURE_ARGS && |
pascal@13582 | 25 make && |
pascal@13582 | 26 make DESTDIR=$DESTDIR install |
pascal@13582 | 27 } |
pascal@13582 | 28 |
pascal@13582 | 29 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@13582 | 30 genpkg_rules() |
pascal@13582 | 31 { |
pascal@13582 | 32 cp -a $install/* $fs |
pascal@13582 | 33 } |