wok-6.x view unixODBC/receipt @ rev 25539
Up perl-test-compile (3.1.0)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Thu Mar 09 12:11:13 2023 +0000 (18 months ago) |
parents | 1ec8e7f04fbf |
children |
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="https://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 }