wok annotate mdbtools/receipt @ rev 19910
add ussp-push (again)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Thu Apr 13 10:45:52 2017 +0200 (2017-04-13) |
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 } |