wok-current view unixODBC/receipt @ rev 25485

BootProg/fat32: active fat support
author Pascal Bellard <pascal.bellard@slitaz.org>
date Tue Nov 01 16:13:12 2022 +0000 (2022-11-01)
parents 934055de50e2
children 7f7bd3c9775e
line source
1 # SliTaz package receipt.
3 PACKAGE="unixODBC"
4 VERSION="2.3.11"
5 CATEGORY="system-tools"
6 TAGS="database"
7 SHORT_DESC="ODBC for unix."
8 MAINTAINER="pascal.bellard@slitaz.org"
9 LICENSE="LGPL2.1"
10 WEB_SITE="http://www.unixodbc.org/"
12 TARBALL="$PACKAGE-$VERSION.tar.gz"
13 WGET_URL="${WEB_SITE}$TARBALL"
15 DEPENDS="libunixODBC readline"
16 BUILD_DEPENDS="readline-dev"
18 HOST_ARCH="i486 arm"
20 # @maintainer: Please update also libunixODBC
22 # What is the latest version available today?
23 current_version()
24 {
25 wget -O - http://www.unixodbc.org/unixODBC.html 2>/dev/null | \
26 sed '/Released/!d;s|^[ \t]*||;s| .*||;q'
27 }
29 # Rules to configure and make the package.
30 compile_rules()
31 {
32 ./configure \
33 --sysconfdir=/etc \
34 --disable-gui \
35 $CONFIGURE_ARGS &&
36 make $MAKEFLAGS LDFLAGS="$LDFLAGS -lrt" &&
37 make install DESTDIR=$DESTDIR
38 }
40 # Rules to gen a SliTaz package suitable for Tazpkg.
41 genpkg_rules()
42 {
43 cook_copy_folders bin
44 cook_copy_folders etc
45 }