wok-current view mdbtools/receipt @ rev 25712
Use symlink for libxvmc-mesa
author | Stanislas Leduc <shann@slitaz.org> |
---|---|
date | Mon Jun 10 20:42:21 2024 +0000 (6 months ago) |
parents | afae00265386 |
children |
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="https://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 # What is the latest version available today?
17 current_version()
18 {
19 wget -O - https://sourceforge.net/projects/mdbtools/files/mdbtools/ 2>/dev/null | \
20 sed '/scope="row/!d;s|.*href="|"https://sourceforge.net|;q' | xargs wget -O - 2>/dev/null | \
21 sed '/scope="row/!d;s|.*/mdbtools/||;s|/.*||;q'
22 }
24 # Rules to configure and make the package.
25 compile_rules()
26 {
27 sed -i 's|.*mdb_backends;|// &|' include/mdbtools.h
28 ./configure --prefix=/usr --infodir=/usr/share/info \
29 --enable-sql --with-unixodbc=/usr \
30 --mandir=/usr/share/man \
31 $CONFIGURE_ARGS &&
32 make -j 1 &&
33 make -j 1 DESTDIR=$DESTDIR install
34 }
36 # Rules to gen a SliTaz package suitable for Tazpkg.
37 genpkg_rules()
38 {
39 cp -a $install/* $fs
40 }